wix3.10

Set permissions for existing folders and files in ProgramData with WiX Toolset

橙三吉。 提交于 2021-02-08 23:43:27
问题 I've inherited a project that uses WIX Toolset (3.10.3) to build the installation package. The application downloads and stores shared data in c:\ProgramData\Vendor\ApplicationName . This path is however not created during the installation, but rather during the execution of the application itself, whenever the path is requested for the first time. I've now discovered a permissions related problem that occurs when multiple Windows users uses the application. Whenever the application downloads

Set permissions for existing folders and files in ProgramData with WiX Toolset

空扰寡人 提交于 2021-02-08 23:38:31
问题 I've inherited a project that uses WIX Toolset (3.10.3) to build the installation package. The application downloads and stores shared data in c:\ProgramData\Vendor\ApplicationName . This path is however not created during the installation, but rather during the execution of the application itself, whenever the path is requested for the first time. I've now discovered a permissions related problem that occurs when multiple Windows users uses the application. Whenever the application downloads

Set permissions for existing folders and files in ProgramData with WiX Toolset

喜欢而已 提交于 2021-02-08 23:37:23
问题 I've inherited a project that uses WIX Toolset (3.10.3) to build the installation package. The application downloads and stores shared data in c:\ProgramData\Vendor\ApplicationName . This path is however not created during the installation, but rather during the execution of the application itself, whenever the path is requested for the first time. I've now discovered a permissions related problem that occurs when multiple Windows users uses the application. Whenever the application downloads

How to set default value of WiX Msi install path in the ui to Program Files?

喜你入骨 提交于 2020-07-23 18:06:42
问题 I have created a WiX installer MSI. When i run the msi, the installation path is asked for in the UI. Currently it loads the drive containing most of the free space. How can I set it to be at program files folder all the time? I tried the below line but it didn't work. <Property Id="WIXUI_INSTALLDIR" Value="C:\\Program Files\" /> Below is the error I get for the above element. The installer has encountered an unexpected error installing this package. This may indicate a problem with this

How to set default value of WiX Msi install path in the ui to Program Files?

回眸只為那壹抹淺笑 提交于 2020-07-23 18:04:41
问题 I have created a WiX installer MSI. When i run the msi, the installation path is asked for in the UI. Currently it loads the drive containing most of the free space. How can I set it to be at program files folder all the time? I tried the below line but it didn't work. <Property Id="WIXUI_INSTALLDIR" Value="C:\\Program Files\" /> Below is the error I get for the above element. The installer has encountered an unexpected error installing this package. This may indicate a problem with this

WiX: How to restart the explorer.exe immediately?

廉价感情. 提交于 2020-03-23 12:00:26
问题 I am a beginner in case of packaging of software. I am using cpack + Wix. I tried to find helpful information or a good documentation about util:RestartResource , but could not find any awnser to my question. Issue: I have to install a ShellExtension which needs a restart of explorer.exe after setting some registry values. Because of that i use the command (https://wixtoolset.org/documentation/manual/v3/xsd/util/restartresource.html): <util:RestartResource ProcessName="explorer.exe"/>

WiX: How to restart the explorer.exe immediately?

落爺英雄遲暮 提交于 2020-03-23 12:00:11
问题 I am a beginner in case of packaging of software. I am using cpack + Wix. I tried to find helpful information or a good documentation about util:RestartResource , but could not find any awnser to my question. Issue: I have to install a ShellExtension which needs a restart of explorer.exe after setting some registry values. Because of that i use the command (https://wixtoolset.org/documentation/manual/v3/xsd/util/restartresource.html): <util:RestartResource ProcessName="explorer.exe"/>

Run Wix Custom action only during uninstall and not during Major upgrade

…衆ロ難τιáo~ 提交于 2020-01-09 03:56:26
问题 I am trying to delete a file using a custom action scheduled between InstallInitialise and InstallFinalize standard action. MajorUpgrade element is used to design upgrades. However, I want the custom action to run only during uninstall and not during the Major upgrade(this includes uninstall and install). I have used the following conditions to execute the CUstom action: (NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL") REMOVE AND NOT WIX_UPGRADE_DETECTED Is there a way to uniquely detect the

Registering a CPP dll into COM after installation using Wix Msi installer

匆匆过客 提交于 2019-12-17 02:25:40
问题 I am trying to register a CPP library into COM during the Msi installation. I have searched a lot and found many solutions in here, but nothing is working in my code. I don't know is there any direct method for this. I have tried using Custom Action with direct ExeCommand and with a batch script. Here is the code with batch script. <SetProperty Id="Register" Value=""[INSTALLDIR]Scripts\Register.bat"" After="CostFinalize"/> <CustomAction Id="Register" BinaryKey="WixCA" DllEntry="CAQuietExec"

Generate WIX authoring files to contain multiple files under a single component

时光总嘲笑我的痴心妄想 提交于 2019-12-13 18:35:05
问题 We are using heat executable to generate an authoring file, where a unique component is created for each file. Is there a way to include multiple files under a single component. Expected result: <component Id="samplecomponent" Directory="INSTALLFOLDER" Guid="*"> <File Id="file1.txt" Source="$(var.Sourcedir)\file1.xml" /> <File Id="file2.txt" Source="$(var.Sourcedir)\file2.xml" /> <File Id="file3.txt" Source="$(var.Sourcedir)\file3.xml" /> </Component> 回答1: Paraffin 3.131 version works to help