wix

Wix Burn: Custom Bootstrapper upgrade but Installs side by side with older version

可紊 提交于 2019-12-22 23:00:16
问题 I'm struggling with my Custom Bootstrapper Upgrade issue. By following this thread, I'm using LaunchAction.Install. This does Upgrade the Product as well as Boostrapper, but older Bootstrapper remains there, as shown in following screen shot. If I invoke ver 1.0.0.0 from here, it would display Dialog to Install, but would do nothing. However, invoking ver 1.0.1.0 would give me the option to Uninstall the product. However, upon Uninstall, it would only remove itself, and "My Product" is left

Stopping display of custom dialog boxes in WiX uninstall

不问归期 提交于 2019-12-22 22:49:11
问题 I have a WiX installer project that utilises a custom dialog box to ask for parameters to update a web.config file and run a database script on install. Everything works correctly and the application is installed and runs correctly. However, the custom dialog box is also displayed when I uninstall the software and it certainly doesn't need to be (as I'm not updating a web.config file). Is there a way to suppress the custom dialog when the application is being uninstalled? (I should also

WiX - Set Installdirectory dynamically over CustomAction [C#]

烈酒焚心 提交于 2019-12-22 20:57:01
问题 I'm about to create an installer, now i have to set the install-directory depending on the operation-system. My directory-tree: <Property Id="TARGETDIR" Value="C:\" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="TARGETDIRECTORY" Name="MyApplication"> <Directory Id="CONFIG" Name="Config"> <Directory Id="FOLDER2" Name="Folder2" /> </Directory> </Directory> </Directory> if i set the TARGETDIRECTORY in the c#-custom-action, the targetdirectory gets set correct, but the CONFIG

WiX - Set Installdirectory dynamically over CustomAction [C#]

 ̄綄美尐妖づ 提交于 2019-12-22 20:53:09
问题 I'm about to create an installer, now i have to set the install-directory depending on the operation-system. My directory-tree: <Property Id="TARGETDIR" Value="C:\" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="TARGETDIRECTORY" Name="MyApplication"> <Directory Id="CONFIG" Name="Config"> <Directory Id="FOLDER2" Name="Folder2" /> </Directory> </Directory> </Directory> if i set the TARGETDIRECTORY in the c#-custom-action, the targetdirectory gets set correct, but the CONFIG

CAQuietExec Command string must begin with quoted application name

无人久伴 提交于 2019-12-22 18:48:19
问题 Ok I believe I'm following the online example in Wix3.5 for doing quiet commands yet I cannot seem to get my command to be executed quoted. <Component Id="MapObjectsRuntime' Guid='*'> <File Id = 'Mo23rtEXE' Name='Mo23rt.exe' Source='....' KeyPath="yes"/> <Component> <Property Id = "QtExecCmdLine" Value="Mo23rt.exe" /> // I've tried single & double quotes, and double double quotes around Mo23. <CustomAction Id = "InstallMapObjects" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="immediate"

Can I allow a user to choose either applicationPoolIdentity or specify a user using WiX-IIS extension?

北慕城南 提交于 2019-12-22 18:32:49
问题 My web application typically will be installed to use applicationPoolIdentity: <iis:WebAppPool Id="MyAppPool" Identity="applicationPoolIdentity" Name="MyAppPool"/> but I have a class of users that will want to use a specific domain user instead, which I would typically author like this: <util:User Id="MyUser" Name="[MY_USER]" Domain="[MY_DOMAIN]" Password="[MY_PASSWORD]" CreateUser="no"/> <iis:WebAppPool Id="MyAppPool" Identity="other" User="MyUser" Name="MyAppPool" /> Making the user

WiX: how to skip removing of iis:WebVirtualDir if virtual directory contains nested directories?

拜拜、爱过 提交于 2019-12-22 18:29:06
问题 My msi install and uninstall a shared resource: IIS virtual directory "MyTeamServices". And it works very well except it removes that virtual directory during uninstall process even if somebody have created nested virtual directories (not by using installers, just "by hands"). When I expect to see standard behavior of WiX processing HDD folders : if there are "unaccounted" files inside - do not remove folder. Could you get me ideas how to solve this little problem (and not by using "permanent

How to move progress bar during custom action

荒凉一梦 提交于 2019-12-22 17:50:01
问题 While running the custom action in the installer there is no progress bar. We are using the Immediate C# manage code custom action. Is any other ways to show the progress while running the custom action ? Advance thanks \ Velu 回答1: Use ProgressText element. The 'Template' attribute is the place to put tokens to reflect the progress. See the standard InstallFiles action for example. The table "ActionData messages" lists the possible tokens for this action. Sample: <ProgressText Action=

Add more than one checkbox when install with Wix is over

血红的双手。 提交于 2019-12-22 16:44:09
问题 I have an setup for my C# application. At the end of setup I added a checkbox proposing to launch application. It works good. But i'm unable to add a second checkbox proposing to launch an optional installer. There is my code: <?xml version="1.0" encoding="UTF-8"?> <?define compagny = "myCompagny"?> <?define product = "myProduct"?> <?define version = "!(bind.FileVersion.MyProject.exe)"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix

WiX call app on uninstall before User prompt “close manually”

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 13:58:28
问题 I got an installer which installs an application and starts this one right after the installation was finished. This works properly for me. But now I want to stop that application while uninstalling the application, i don't want the user to be prompted to close applications manually. This shall work full automatic. I ned to do this using a custom action, the WM_CLOSE message will not work in my approach (really, i tried it a couple of times). I thought that this can't be that difficult, but I