wix3.7

Install a folder to ALLUSERS (not a shortcut!) using WiX

别等时光非礼了梦想. 提交于 2019-12-04 11:01:24
I have an MSI file that is installing a folder with a bunch of files inside it. I have a location that I am putting the files in: Windows XP: C:\Documents and Settings\All Users\Documents\MyFolder Windows 7: C:\Users\Public\Documents\MyFolder The issue is that I do not want to hardcode these paths, but no matter where I look I cannot find out how to do this, because everywhere I look they are talking about making shortcuts for all users and that is not what I am trying to do. How can one install a folder to an "All Users" location? Something like this: <PropertyRef Id="WIX_DIR_COMMON_DOCUMENTS

Complete WiX sample *.wxs to download and install a specific version of .NET Framework if it's not available

霸气de小男生 提交于 2019-12-03 13:08:43
There are many incomplete questions and answers about how to download and install .NET Framework(s) if they are not available but none complete code seems to be available on Internet. Can you provide a minimal compilable code or a link to a clear example that generates a setup.exe/MSI? I don't think RTFM applies to this question since MSI and bootstrap installers has a lot of idiosyncrasies that are not easily deductible. XNargaHuntress Note, this information is available in full in the manual. It can be found in the following locations with examples: How To: Install the .NET Framework Using

Porting Custom Install Actions to Wix

ぃ、小莉子 提交于 2019-12-03 12:49:15
问题 I currently have a Visual Studio Deployment project for creating an MSI for my applicaiton, and I'm porting over to a WiX installer. The VS Installer used a library with Custom Install Actions that inherited from System.Configuration.Install.Installer, e.g.: [RunInstaller(true)] public partial class MyCustomInstaller: Installer { } How do these equate to Wix actions? I figure that in general, WiX allows you to run custom actions after an install. Are these just executables? In my case, the

Porting Custom Install Actions to Wix

故事扮演 提交于 2019-12-03 03:12:30
I currently have a Visual Studio Deployment project for creating an MSI for my applicaiton, and I'm porting over to a WiX installer. The VS Installer used a library with Custom Install Actions that inherited from System.Configuration.Install.Installer, e.g.: [RunInstaller(true)] public partial class MyCustomInstaller: Installer { } How do these equate to Wix actions? I figure that in general, WiX allows you to run custom actions after an install. Are these just executables? In my case, the custom Install Actions I have are classes in a DLL, not an EXE. How can I execute these from my WiX

How to insert a Groupbox and image in setup dialog in wix Installer

时光怂恿深爱的人放手 提交于 2019-12-02 21:37:24
问题 Am developing an installer for my application using wix installer.installer. Wix is really new to me . In that installer am having a custom dialog and where i have kept check boxes inside it. <Control Id="InstallWORD" Type="CheckBox" X="20" Y="200" Width="200" Height="17" Property="INSTALLWORD" CheckBoxValue="1" Text="Install Word Plug-In?" /> the above is the code i used for keeping check box. But now i need to insert a small picture near the checkbox (ie) similar like this how to make it

How to insert a Groupbox and image in setup dialog in wix Installer

拜拜、爱过 提交于 2019-12-02 10:14:22
Am developing an installer for my application using wix installer.installer. Wix is really new to me . In that installer am having a custom dialog and where i have kept check boxes inside it. <Control Id="InstallWORD" Type="CheckBox" X="20" Y="200" Width="200" Height="17" Property="INSTALLWORD" CheckBoxValue="1" Text="Install Word Plug-In?" /> the above is the code i used for keeping check box. But now i need to insert a small picture near the checkbox (ie) similar like this how to make it possible in wix installer?? Thanks . Need to add a Binary element to the file: <Binary Id="MainImage"

Wix installer bundle produces corrupt “msi”

倖福魔咒の 提交于 2019-12-02 06:25:33
Using very simple code almost same as in examples: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle Version="1.0" Manufacturer="ACME" UpgradeCode="6AF8AF7D-3B44-4496-9E64-56206DF66C55"> <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"/> <Chain> <MsiPackage SourceFile="wpftoolkit.msi"/> </Chain> </Bundle> </Wix> I get a setup.msi file that produced error imidiatly in start: msiexec /i setup.msi /l*v log.txt log.txt: === Verbose logging started: 02.10.2013 14:12:11 Build type: SHIP UNICODE 5.00.7600.00 Calling

WiX - How to uninstall the bundle when uninstall the msi

我与影子孤独终老i 提交于 2019-12-01 19:40:00
Im using WiX to install my .msi, I´m generating a WiX Bundle using the Bundle Element. I try to not show the Bundle on "Add/Remove programs" so i set the properties of the Bundle element like this: <Bundle Name="$(var.ProductName)" Version="!(bind.packageVersion.MSIPackage)" Manufacturer="$(var.ProductManufacturer)" UpgradeCode="$(var.UpgradeCode)" DisableRemove="yes" DisableModify="yes" DisableRepair="yes"> DisableRemove, DisableModify and DisableRepair to "yes" made the Bundle be hidden under "Add/Remove programs". My problem is that when i Uninstall my application, the application is

WiX installer not removing files on uninstall

ⅰ亾dé卋堺 提交于 2019-12-01 14:59:16
问题 I am telling a wix MSI file to remove files on uninstall, and it's simply not registering it. For the bundle I call the MSI file thusly: <MsiPackage SourceFile="..\..\..\..\Kiosk\MyProject\bin\Release\MyProject.msi" Name="MyProject.msi" DisplayInternalUI="yes" Permanent="no" /> And in the MSI file I call this: <ComponentGroup Id="Purge" Directory="INSTALLFOLDER"> <Component Id="PurgeFiles" Guid=""> <RemoveFile Id="RemoveBaseFolder" Name="*" On="uninstall" Directory="INSTALLFOLDER" />

WIX enable Windows feature

巧了我就是萌 提交于 2019-12-01 07:54:18
I have to check if some windows features are enabled beore installing my software. I can check it or install it using dism command line tool. I create a custom action to do this, but is there a way to do it in a "WIX native way" ? <Property Id="dism" Value="dism.exe" /> <CustomAction Id="InstallMSMQContainer" Property="dism" ExeCommand=" /online /enable-feature /featurename:MSMQ-Container /featurename:MSMQ-Server /featurename:MSMQ-ADIntegration" Return="check" Impersonate="yes" Execute="oncePerProcess"/> <InstallUISequence> <Custom Action="InstallMSMQContainer" After="CostFinalize" Overridable