wix

warning LGHT1076 : ICE91: The file 'doc_code_file1' will be installed to the per user directory 'code_Simple'

爷,独闯天下 提交于 2019-12-21 20:15:18
问题 Eventhough I addded the registry value settings. It gives the following warning warning LGHT1076 : ICE91: The file 'doc_code_file1' will be installed to the per user directory 'code_Simple' that doesn't vary based on ALLUSERS value . This file won't be copied to each user's profile even if a per machine installation is desired My Code <Component Id='doc_code_copy' Guid='DA95057C-9866-4422-B00B-105BBF862C92' Directory='code_Simple'> <RegistryKey Root='HKCU' Key='Software\SimpleToolkit_2012

Patching Multiple Instance Installs with either InstallShield or WiX

孤街醉人 提交于 2019-12-21 18:32:11
问题 I have a project built in InstallShield 12. It is a Web Application that needs to be installed multiple times, and those installations need to be patched. I can create transforms, and patches just fine in both WiX and InstallShield. When I try to patch a transformed install from InstallShield, I get the error: "The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the

Leveraging heat.exe and harvest already localized file names and including them to msi using wix

好久不见. 提交于 2019-12-21 17:54:22
问题 I have a question whether what i am trying to do is doable, and if the answer is yes how to do it. I am new to the wix and have been doing some reading on how dynamically to include a folder to an installer and eventually i were able to do a task in nant that uses heat.exe to generate wxs file and latter adding newly generated wxs file to light and candle tasks. This allowed me to add the content of a folder to the msi and subsequently have that folder and its content to be installed. My

Questions about add firewall exception in wix installer by firewall extension

自古美人都是妖i 提交于 2019-12-21 17:41:45
问题 I am new to Wix installer . I am trying to add firewall exception for my program. My code is as follow: <Component Id="_VIEW.EXE" Guid="*" Transitive="yes"> <File Id="view.exe" Name="view.exe" KeyPath="yes" Source="$(var.INSTALLSOURCE)\view.exe"> <fire:FirewallException Id="view_firewall_domain_tcp" Name="View" Protocol="tcp" Scope="any" IgnoreFailure="yes" Profile="domain" /> <fire:FirewallException Id="view_firewall_domain_udp" Name="View" Protocol="udp" Scope="any" IgnoreFailure="yes"

How do I share a WiX fragment in two WiX projects?

不打扰是莪最后的温柔 提交于 2019-12-21 17:32:25
问题 We have a WiX fragment in a file SomeDialog.wxs that prompts the user for some information. It's referenced in another fragment in InstallerUI.wxs file that controls the dialog order. Of course, Product.wxs is our main file. Works great. Now I have a second Visual Studio 2008 Wix 3.0 Project for the .MSI of another application and it needs to ask the user for the same information. I can't seem to figure out the best way to share the file so that changing the information requested will result

How to set folder permissions on install in a localizable fashion

与世无争的帅哥 提交于 2019-12-21 17:24:43
问题 I have an installation build with WiX 3.0. It currently creates some folders and modifies the folder permissions. However, it will not install on a Spanish OS. That is now a problem since we have to support Spanish OS's. So... I am trying to do this in a way that is localizable. This is what I have changed it to: <CreateFolder Directory="JPROLogs" > <util:PermissionEx User="[WIX_ACCOUNT_ADMINISTRATORS]" GenericAll="yes" /> <util:PermissionEx User="[WIX_ACCOUNT_USERS]" GenericAll="yes" /> <

c#, MSBuild Bootstrapper with wix, how to download .net framework 3.5 SP1?

妖精的绣舞 提交于 2019-12-21 17:24:40
问题 I managed to create bootstrapper for my project that includes .net framework 3.5SP1 with this code: <ItemGroup> <BootstrapperFile Include="Microsoft.Net.Framework.3.5.SP1"> <Visible>False</Visible> <ProductName>.NET Framework 3.5.SP1</ProductName> <Install>true</Install> </BootstrapperFile> </ItemGroup> <Target Name="Bootstrapper"> <GenerateBootstrapper ApplicationFile="SeppelSetup.msi" ApplicationName="Seppel 1.0" BootstrapperItems="@(BootstrapperFile)" OutputPath=".\bin\Debug"

WiX .NET Bootstrapper - Feature Selection

折月煮酒 提交于 2019-12-21 12:58:58
问题 We are trying to get a custom .NET Bootstrapper to selectively install features in an MSI package through our WiX installer. Having registered to the event PlanMsiFeature we thought that we would be able to access the features in our MSI and exclude certain features based upon preset conditions. The event, however, never appears to be invoked. Has anybody managed to use this event successfully? Many thanks. 回答1: We solved this issue. There were a couple of key items missing. 1) In the Bundle

Is there a way to set a preprocessor variable to the value of a property?

[亡魂溺海] 提交于 2019-12-21 09:27:32
问题 I have a WiX include file with the following code <Fragment Id="PropertyFragment"> <Property Id="DynamicLanguageCode" Value="[SystemLanguageID]" /> <?define productLanguage = [DynamicLanguageCode]?> </Fragment> Now in my Product tag in my WiX script I'd like to set the Language attribute to the value of productLanguage, as it only takes localizable integers. Is there a way I can get my variable to be assigned the value of the property? Thanks 回答1: There seems to be confusion in your mind

How can I detect whether .NET Framework 4.6.1 or higher is installed in WiX?

岁酱吖の 提交于 2019-12-21 07:34:37
问题 I currently using the following markup in my WiX installer project to check if .NET Framework 4.5 or greater is installed. <PropertyRef Id="NETFRAMEWORK45" /> <Condition Message="$(var.ProductName) requires .NET Framework 4.5 or higher."> <![CDATA[Installed OR (NETFRAMEWORK45 >= "#393295")]]> </Condition> How can I check for .NET Framework 4.6.1 and above? I'm using WiX 3.10.2.2516. 回答1: How about: <PropertyRef Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" /> <Condition Message="$(var