wix-extension

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

Add namespace in xpath in XmlFile Element (Wix Util Extension)

倾然丶 夕夏残阳落幕 提交于 2020-01-15 20:25:23
问题 The ElementPath attribute of XmlFile element in wix accepts an xpath to select the target. How can I include namespace prefixes in this xpath? 回答1: According to this issue entry it seems to be a bug or better: a not implemented feature, as an eventually existing default namespace is not exposed by the util:XmlFile -element. According to the first comment in this entry you can work around this issue by using util:XmlConfig which should look in the empty namespace for the needed nodes /

Add namespace in xpath in XmlFile Element (Wix Util Extension)

依然范特西╮ 提交于 2020-01-15 20:19:26
问题 The ElementPath attribute of XmlFile element in wix accepts an xpath to select the target. How can I include namespace prefixes in this xpath? 回答1: According to this issue entry it seems to be a bug or better: a not implemented feature, as an eventually existing default namespace is not exposed by the util:XmlFile -element. According to the first comment in this entry you can work around this issue by using util:XmlConfig which should look in the empty namespace for the needed nodes /

Wix: How to set permissions for folder and all sub folders

天涯浪子 提交于 2020-01-09 02:15:26
问题 I know how to set the permissions for a folder: <DirectoryRef Id="ProgramFilesFolder"> <Directory Id="PHPFolder" Name="PHP"> <Component Id="PHP_comp" DiskId="1" Guid="*"> <CreateFolder> <Permission User="Everyone" GenericAll="yes" /> </CreateFolder> However I need the permissions to be applied to all subfolders as well. Is this possible with out listing all the folders? 回答1: First of all, I would recommend you using PermissionEx instead. It is a standard WiX extension and it has one really

Using the firewall extension in WiX

大城市里の小女人 提交于 2019-12-30 17:56:58
问题 I'm trying to write a WiX script that uses the firewall extension to WiX, and it doesn't seem to find the extension dll (I think). The error I'm seeing is this: The File element contains an unhandled extension element 'fire:FirewallException'. Please ensure that the extension for elements in the 'http://schemas.microsoft.com /wix/FirewallExtension' namespace has been provided. and the relevant part of my WiX source is this: <?xml version="1.0" encoding="windows-1252"?> <Wix xmlns="http:/

WiX XmlConfig: Elements not removed on uninstall

自闭症网瘾萝莉.ら 提交于 2019-12-24 07:55:15
问题 I'm having difficulty removing on uninstall the elements that I add to an XML file on install. Here's my setup: The XML file already exists on the machine before install and can't be remove after install because this installer is for an "add-in" to an application. I do add some elements to the XML file on install, but only want to remove some of those elements on uninstall. I've been searching online for answers and can't find any that fit my situation. I've tried copying the syntax of this

The Fragment element contains an unhandled extension element 'util:RegistrySearch'

断了今生、忘了曾经 提交于 2019-12-21 07:26:23
问题 Learning how to create Wix Booloader so that I can install .NET framework with my msi install package. Anyway I am stuck with an error for an unhandled extension element. Code is below <?xml version="1.0" encoding="utf-8"?> <!-- # This comment is generated by WixEdit, the specific commandline # arguments for the WiX Toolset are stored here. candleArgs: "<projectfile>" -ext WixBalExtension lightArgs: "<projectname>.wixobj" -ext WixBalExtension --> <Wix xmlns="http://schemas.microsoft.com/wix

The Fragment element contains an unhandled extension element 'util:RegistrySearch'

喜你入骨 提交于 2019-12-21 07:26:07
问题 Learning how to create Wix Booloader so that I can install .NET framework with my msi install package. Anyway I am stuck with an error for an unhandled extension element. Code is below <?xml version="1.0" encoding="utf-8"?> <!-- # This comment is generated by WixEdit, the specific commandline # arguments for the WiX Toolset are stored here. candleArgs: "<projectfile>" -ext WixBalExtension lightArgs: "<projectname>.wixobj" -ext WixBalExtension --> <Wix xmlns="http://schemas.microsoft.com/wix