windows-installer

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

MSIEXEC: “Executing op: ShortcutRemove” step is very slow

守給你的承諾、 提交于 2021-02-10 14:22:03
问题 We have ".msi" installation package. I try to uninstall it with appropriate commnd: MsiExec.exe /x{5D719E68-C010-4DD9-A1C3-7BC1581781F0} /lv log.txt In the log I see follow records: MSI (s) (D4:14) [17:38:41:595]: Executing op: ShortcutRemove(Name=n80p5njq|Sample Playlist Transcoding) MSI (s) (D4:14) [17:38:41:601]: Verifying accessibility of file: Sample Playlist Transcoding.lnk MSI (s) (D4:14) [17:38:41:602]: Using source file security for destination. MSI (s) (D4:14) [17:38:41:602]: Note:

MSIEXEC: “Executing op: ShortcutRemove” step is very slow

那年仲夏 提交于 2021-02-10 14:20:23
问题 We have ".msi" installation package. I try to uninstall it with appropriate commnd: MsiExec.exe /x{5D719E68-C010-4DD9-A1C3-7BC1581781F0} /lv log.txt In the log I see follow records: MSI (s) (D4:14) [17:38:41:595]: Executing op: ShortcutRemove(Name=n80p5njq|Sample Playlist Transcoding) MSI (s) (D4:14) [17:38:41:601]: Verifying accessibility of file: Sample Playlist Transcoding.lnk MSI (s) (D4:14) [17:38:41:602]: Using source file security for destination. MSI (s) (D4:14) [17:38:41:602]: Note:

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

No compatible servers were found - MySQL

空扰寡人 提交于 2021-02-08 11:51:08
问题 I am trying to install MySQL Server, mysql-installer-community-8.0.19.0.msi, on Windows 10. I download the latest version from MySQl::MySQL Downloads These are the screenshots: I selected Full : I think something went wrong here: 回答1: this usually happens because you did not install the requirements manually in the previous steps. I recommend that you uninstall and install back again. After that, you will click on these items to try to resolve them manually. It performs the installation of

List Tables in an msi file?

吃可爱长大的小学妹 提交于 2021-02-08 07:56:08
问题 How does one use SQL to list the tables in an MSI file? 回答1: MSI SDK : The _Tables table is a read-only system table that lists all the tables in the database. Query this table to find out if a table exists. Adapting the script WiExport.vbs from the Windows Installer Scripting Examples from the Windows Installer SDK you get something like the below. MSI SDK VBScripts : In order to find WiExport.vbs : With Visual Studio installed, look under: %ProgramFiles(x86)%\Windows Kits\10\bin\10.0.17763

List Tables in an msi file?

守給你的承諾、 提交于 2021-02-08 07:55:35
问题 How does one use SQL to list the tables in an MSI file? 回答1: MSI SDK : The _Tables table is a read-only system table that lists all the tables in the database. Query this table to find out if a table exists. Adapting the script WiExport.vbs from the Windows Installer Scripting Examples from the Windows Installer SDK you get something like the below. MSI SDK VBScripts : In order to find WiExport.vbs : With Visual Studio installed, look under: %ProgramFiles(x86)%\Windows Kits\10\bin\10.0.17763

Add custom radio buttons to set ALLUSERS property

二次信任 提交于 2021-02-08 05:12:52
问题 I would like to be able to set the ALLUSERS property to either blank for current user or 1 for all users using two radio buttons placed in the 'Destination Folder' dialog. I understand that this is the code to run for current user: <Property Id="AllUSERS" Value="{}"/> and for all users: <Property Id="AllUSERS" Value="1"/> I've got this code to create the custom radio buttons: <Control Id="RadioButtonGroupID" Type="RadioButtonGroup" X="30" Y="94" Width="305" Height="100" Property="

Add custom radio buttons to set ALLUSERS property

寵の児 提交于 2021-02-08 05:12:00
问题 I would like to be able to set the ALLUSERS property to either blank for current user or 1 for all users using two radio buttons placed in the 'Destination Folder' dialog. I understand that this is the code to run for current user: <Property Id="AllUSERS" Value="{}"/> and for all users: <Property Id="AllUSERS" Value="1"/> I've got this code to create the custom radio buttons: <Control Id="RadioButtonGroupID" Type="RadioButtonGroup" X="30" Y="94" Width="305" Height="100" Property="