installer

Domain compatibility: where should shared data be written?

天涯浪子 提交于 2019-12-23 17:19:07
问题 We've written an application that works fairly well in XP, but is having serious migration issues to Vista and Windows 7, probably due to where user data is being written. The use case is this: Individual users need to log in to the machine and use it to acquire data. Supervisor users need to be able to look over the shoulder of individual users and verify that they're performing their jobs properly. These supervisors also need to check system logs to make sure that the system is performing

Wix installer - how to run change with administrative privileges when run from Uninstall or change program in Control Panel

柔情痞子 提交于 2019-12-23 17:13:48
问题 My installer has a custom action which contacts a windows service and set some parameters. In order to successfully use the service, it must be run with the elevated privileges. In the first time install when a user clicks on the Install button, it is presented with the UAC prompt and install completes successfully. However, when a user decides to change the product(add new feature), call to the service will fail! This happens because installer is not run in the privileged mode. When I start

How can I exclude a folder from a .NET installer for a website?

六月ゝ 毕业季﹏ 提交于 2019-12-23 17:10:47
问题 We have an installer for a website of ours which works great, I exclude the web.config and a few other files when creating the installer. However I can't seem to exclude a folder. Is this possible? I've created the installer using the .NET built in Web Setup Project found in the visual studio group Other project types > Setup and Deployment within the new project dialog. This only has the option of including groups of output and excluding files via the filter. 回答1: What technology are you

How do I create a manifest for a windows installer?

强颜欢笑 提交于 2019-12-23 16:24:34
问题 We have an installer for our application that must be downloaded and run with administrator privileges, like many other installers. However, the installer isn't named "setup.exe", so Windows doesn't automatically detect it as requiring elevation to run. Changing the installer name to make things elevate properly sounds pretty messy, frankly. This article talks a lot about UAC and elevation, and it says that you can use a manifest to make something require authorization. So, we'd just love to

Why is my Uninstall method not called from the msi?

对着背影说爱祢 提交于 2019-12-23 15:36:11
问题 I am writing an installer for my web app and I struggle with the uninstaller part. Despite the fact that I created a custom action on Uninstall in my Application Setup Project, the InstallerClass is set to true, the method: public override void Uninstall(IDictionary savedState) { //MessageBox.Show("Attach debugger!", "Viper.Setup"); Cleanup(); base.Uninstall(savedState); } on the installer class doesn't seem to be called. Any ideas what could be the reason? EDIT: I also noticed that it not

SmartDevice CAB “is not a valid Windows CE Setup file”

拥有回忆 提交于 2019-12-23 12:22:43
问题 (This can be considered a follow-up on my question here.) After successfully building a CAB setup file for my handheld WCE5 device, (a Datalogic Memor laserscanner) I went on to try and install it. However, upon starting the CAB, the device throws me the following error message: The file "\Setup.CAB" is not a valid Windows CE Setup file I have no idea why it's saying this, especially since I made the CAB file using VS08's "Smart Device CAB Project" template. Is there some setting I missed

WIX Installer for a INF based printer Driver

你说的曾经没有我的故事 提交于 2019-12-23 09:31:29
问题 I am trying to make a installer for a printer driver, Using WIX I have some Dlls a *.cat file a *.gdp file an *.inf file I was thinking about using the INF to deploy the driver but don't know how to implement it. I sow this Question too,(possibly duplicates) but as a beginner i could't completely understand how to do it. Am i need to copy those DLLs and other files to the relevant folders by my self and Write Registry. Or is their any easy way to use INF file to do the task by WIX's engine?

How to get the installation directory?

淺唱寂寞╮ 提交于 2019-12-23 08:56:34
问题 The MSI stores the installation directory for the future uninstall tasks. Using the INSTALLPROPERTY_INSTALLLOCATION property (that is "InstallLocation" ) works only the installer has set the ARPINSTALLLOCATION property during the installation. But this property is optional and almost nobody uses it. How could I retrieve the installation directory? 回答1: Use a registry key to keep track of your install directory, that way you can reference it when upgrading and removing the product. Using WIX I

How to set the status message in [Code] Section of Inno install script?

随声附和 提交于 2019-12-23 07:55:57
问题 I know that StatusMsg can only be used in the [Run] selection. I want to use the same in the [Code] Selection, Please Help me to solve this, Thanks in advance, Regards Samuel J 回答1: You can change the status label contents at runtime using: WizardForm.StatusLabel.Caption := 'Intalling WibbleTech Widget' See the Support classes reference for the full list of controls and properties you can change. 来源: https://stackoverflow.com/questions/8612117/how-to-set-the-status-message-in-code-section-of

Wix non-admin installer tutorial?

末鹿安然 提交于 2019-12-23 07:26:54
问题 We're evaluating if the Wix installer will be suitable for us in a project. The end user need to be able to install our software without admin rights. The installer needs to work with at least XP/Vista/Windows 7 without admin rights or UAC. I have a hard time finding good documentation and tutorials how this can be done. I have found a couple of old ones but they don't compile with candle/light with the latest Wix version. Does anyone have good examples or tutorials that might help? Thanks in