wix

How to hide the value of customactiondata in logs of MSI?

六眼飞鱼酱① 提交于 2021-02-10 17:44:22
问题 I have a deferred custom action which fetches a property using Customactiondata, it contains the value of password that should not be displayed in the log . Packaging tool used: WIX Custom action written in C++ I have tried the below workarounds nothing seems to be working. Marked the property and CA name as hidden Hidetarget = yes in CA definition what needs to be done? Code: <CustomAction Id="CASETLOGINFORRCSERVICES" Return="check" HideTarget="yes" Execute="deferred" Impersonate="no"

Wix Bootstrap prevent temp directory use

浪尽此生 提交于 2021-02-10 16:51:35
问题 I have builded "HelloWord" installer with the Bootstrapper Project for Wix v3 project type. My bundle.wxs is <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"> <Bundle Name="Bundle_name" Version="1.0.0.0" Manufacturer="Producter" UpgradeCode="C82A383C-751A-43B8-90BF-A250F7BC2863" IconSourceFile="..\WpfForms\Assets\my_lovely.ico" >

Wix Bootstrap prevent temp directory use

谁说我不能喝 提交于 2021-02-10 16:50:03
问题 I have builded "HelloWord" installer with the Bootstrapper Project for Wix v3 project type. My bundle.wxs is <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"> <Bundle Name="Bundle_name" Version="1.0.0.0" Manufacturer="Producter" UpgradeCode="C82A383C-751A-43B8-90BF-A250F7BC2863" IconSourceFile="..\WpfForms\Assets\my_lovely.ico" >

Mutually exclusive files in the same folder in a WIX Installer

*爱你&永不变心* 提交于 2021-02-10 15:53:28
问题 I would like to deploy mutually exclusive applications into mutually exclusive environments based on User Input in a WIX project. The research I've done tells me I can't do this using conditions http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/ This seems like a fairly common question and a definitive best practice would be valuable. I've implemented this using features and publishing events per the above article. The events in my UI are below. In my situation I'm installing one

Mutually exclusive files in the same folder in a WIX Installer

青春壹個敷衍的年華 提交于 2021-02-10 15:50:26
问题 I would like to deploy mutually exclusive applications into mutually exclusive environments based on User Input in a WIX project. The research I've done tells me I can't do this using conditions http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/ This seems like a fairly common question and a definitive best practice would be valuable. I've implemented this using features and publishing events per the above article. The events in my UI are below. In my situation I'm installing one

How to include MSM into a MSP with WiX

你离开我真会死。 提交于 2021-02-10 14:29:52
问题 I am using WiX for building MSI and MSP. In my MSI, I have an MSM file present. I made some changes to the files in the MSM and re generated the same. Now I wanted to create a patch/MSP with the change in MSM included. Please help me to create a MSP with the updated MSM file. 回答1: An MSP - a Windows Installer Patch - is merely a distribution / packaging mechanism for an MSI update that is already working as a full package . Hence the process of making an MSP that contains the updated files -

How to specify <SecureCustomProperties Property=“PROP1;PROP2”/> in wix .wxs file

Deadly 提交于 2021-02-10 10:43:49
问题 I want to specify property as restricted property in Wix installer, in wix .wxs file. <Property Id="PROP1"> <RegistrySearch Id="Prop1" Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\mysvc" Name="installers" Type="raw" /> </Property> <Property Id="PROP2"> <RegistrySearch Id="Prop2" Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\mysvc" Name="DisplayName" Type="raw" /> </Property> Any idea? Wanted to make PROP1 , PROP2 private / secured. Tried with making them as lowercase but

WiX Remove files on uninstall but not update

你说的曾经没有我的故事 提交于 2021-02-10 09:24:55
问题 I have an app that can log when given the correct flags at install time ( /logLevel=debug on install gets passed to the app when the service starts). Our update process is a automated uninstall then install with a new MSI package. I know there is built in patch functionality with WiX, but this is our process. Similarly with the logLevel parameter, I'd like to pass something to the effect of UPDATE="true" on the command line during uninstall. When this parameter is passed to the uninstaller it

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