wix3.7

Unable to uninstall the application which is installed using wix installer

99封情书 提交于 2019-11-28 11:35:19
问题 I have used wix installer to create an installer for my c# application. Installation happened fine, but I am not able to uninstall the application. I see below the logs MSI (s) (78:AC) [15:32:06:199]: Machine policy value 'Debug' is 0 MSI (s) (78:AC) [15:32:06:199]: ******* RunEngine: ******* Product: C:\wix\Installer\\bin\Debug\MyService-Debug-x86.msi ******* Action: ******* CommandLine: ********** MSI (s) (78:AC) [15:32:06:207]: Machine policy value 'DisableUserInstalls' is 0 MSI (s) (78:AC

Make WIX installer place files in AppData

天涯浪子 提交于 2019-11-28 09:44:36
问题 I'm writing a dapp for ethereum client for windows. In order to make dapp available for user I have to place specific files in the folder in appdata. So I just should place some files in %appdata%\Parity\Ethereum\dapps\mydappname . But I always get weird errors with WIX, the last one is Error 93 ICE64: The directory dapp is in the user profile but is not listed in the RemoveFile table. I have following myapp.wixproj <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0"

WiX: Digitally Sign BootStrapper project

与世无争的帅哥 提交于 2019-11-28 04:23:40
I have a project for which I have built a WiX msi file. I also have a WiX bootstrapper (exe file) that checks for the existence of C++ 2005, installs it if not found and then installs the msi package. My project includes Crystal Reports as an msm file which is installed with the msi but requires C++ 2005 to install properly. On the MSI project I have included the following post build event to digitally sign the msi file. sign /f "$(ProjectDir)\myPFXFile.pfx" /p mySecretKey/d "My Program" /t http://timestamp.verisign.com/scripts/timstamp.dll /v "MyProgram.msi" If I install just the msi it

Run ExeCommand in customAction as Administrator mode in Wix Installer

 ̄綄美尐妖づ 提交于 2019-11-27 13:58:04
I am new to wix installer. I have developed a set-up using wix installer for my application and I need to execute a Custom Action to run a command in cmd.exe. In XP it works fine. But in Windows 8 & 7 the cmd prompt needs to be run as administrator. I have googled and found the keywords Elevated Privileges and impersonate might help me. <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" InstallPrivileges="elevated"></Package> As you can see above, I used the InstallScope attribute set to perMachine, and I have used Impersonate="No" in the CustomAction element:

WiX: Digitally Sign BootStrapper project

旧街凉风 提交于 2019-11-27 00:22:37
问题 I have a project for which I have built a WiX msi file. I also have a WiX bootstrapper (exe file) that checks for the existence of C++ 2005, installs it if not found and then installs the msi package. My project includes Crystal Reports as an msm file which is installed with the msi but requires C++ 2005 to install properly. On the MSI project I have included the following post build event to digitally sign the msi file. sign /f "$(ProjectDir)\myPFXFile.pfx" /p mySecretKey/d "My Program" /t

How to run heat.exe and register a dll in wix

天大地大妈咪最大 提交于 2019-11-26 20:33:08
问题 I need to register a dll in regAsm and now i was using <CustomAction Id='comReg' Directory='INSTALLLOCATION' ExeCommand='"[WindowsFolder]Microsoft.NET\Framework\v4.0.30319\regasm.exe" "[INSTALLLOCATION]myProduct.dll" /codebase' Return='check' /> to register and to unregister <CustomAction Id='comUnreg' Directory='INSTALLLOCATION' ExeCommand='"[WindowsFolder]Microsoft.NET\Framework\v4.0.30319\regasm.exe" /u "[INSTALLLOCATION]myProduct.dll" /codebase' Return='check' /> Am using it and sometimes

Passing command line args to MSI from WiX bundle

你离开我真会死。 提交于 2019-11-26 18:28:44
问题 I’m on Wix 3.7. I have an MSI that I would like to set a registry key (perhaps via a Custom Action, as he will have to check if the key already exists). I understand that a Bundle in a bootstrapper project can't change the machine state (such as setting the registry). Therefore, I'm attempting to pass a command line argument via <MsiProperty> , but doesn't appear to show up as a command line argument in my log file for the bootstrapper. Is it possible to set a registry key up in a Bundle? If

Run ExeCommand in customAction as Administrator mode in Wix Installer

江枫思渺然 提交于 2019-11-26 18:17:57
问题 I am new to wix installer. I have developed a set-up using wix installer for my application and I need to execute a Custom Action to run a command in cmd.exe. In XP it works fine. But in Windows 8 & 7 the cmd prompt needs to be run as administrator. I have googled and found the keywords Elevated Privileges and impersonate might help me. <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" InstallPrivileges="elevated"></Package> As you can see above, I used the