burn

How to use CustomAction in WIX Bundle?

霸气de小男生 提交于 2019-11-30 18:42:48
To give you a background - I have a 4 MSI's which comes from our vendor and this has to go to our company servers (we are looking at around 3500 servers). As of now, my counterparts are managing this using vbs, ps1 scripts. But the problem with the script is that everytime an update comes we have to worry about uninstalling the existing package before running the new one and a ton of hardcoding. I want to automate the whole process (with very less hardcoding) by setting up a WIX script to package all the 4 MSI's together. I read about the WIX bundle and used that to create a single MSI. But

WiX Burn after restart/force reboot continuing installation

戏子无情 提交于 2019-11-30 17:08:25
问题 I have a WiX Burn custom installer using ManagedBootstrapperApplicationHost. After installing one of the prerequisite Microsoft Windows Installer 4.5 I forcefully reboot the PC (Windows XP) using: <ExitCode Behavior="forceReboot"/> The Bundle chain looks like this: <Chain> <PackageGroupRef Id="WindowsInstaller45"/> <PackageGroupRef Id="Netfx2Full"/> <PackageGroupRef Id="Netfx4Full"/> <PackageGroupRef Id="CustomPkg"/> <PackageGroupRef Id="SQLExpress"/> </Chain> After it reboots, I want my

How to debug custom bootstrap application?

喜你入骨 提交于 2019-11-30 10:35:15
问题 I am using Burn for MSIs package. I am using Votive (Visual Studio) & my own custom BA instead of WiXBA. I tried to debug custom BA using Debugger.Launch() . But when I start debugging, error messages occur. No symbols are loaded for any call stack frame. The source code cannot be displayed I realized that package.exe links CustomBA dll which located at C:\Documents and Settings\user\Local Settings\Temp\{GUID}\ . {GUID} is always changed. So, whenever I run package.exe, always directory is

using WIX3.6 to install .NET Framework 3.5 SP1 with Burn

只谈情不闲聊 提交于 2019-11-30 10:01:27
I am trying to use Burn and WIX 3.6 to make an installer for my app. The installer must be capable of installing .NET 3.5 SP1 from Microsoft's web site. I am working from a working WIX project created with WIX 3.5. It works, if .NET 3.5 SP1 has been previously installed on the target machine. The first step appears to be to create a bundle, so I added a element to my Product.wxs file. When I do that I get an error saying that the is not valid in the schema, I must have a instead. Does that mean that I have to transfer all the product definitions into a fragment? It's unclear how I do that.

How do I detect the currently installed features during a MajorUpgrade using WiX Burn MBA Bundles?

三世轮回 提交于 2019-11-30 03:23:57
问题 I'm using WiX 3.7's Burn/Managed Bootstrapper Application features to create a custom MBA-based installer. For each of the packages in my bundle's chain, when performing a MinorUpdate, I can easily detect which of the package features are already installed to ensure I maintain those feature selections during the upgrade by using these events provided in the WiX base class for the bootstrapper: DetectPackageComplete , DetectMsiFeature , DetectRelatedBundle , DetectRelatedMsiPackage ,

How to use CustomAction in WIX Bundle?

北城以北 提交于 2019-11-30 03:00:29
问题 To give you a background - I have a 4 MSI's which comes from our vendor and this has to go to our company servers (we are looking at around 3500 servers). As of now, my counterparts are managing this using vbs, ps1 scripts. But the problem with the script is that everytime an update comes we have to worry about uninstalling the existing package before running the new one and a ton of hardcoding. I want to automate the whole process (with very less hardcoding) by setting up a WIX script to

How to intelligently install .NET 4.x using WiX Burn

懵懂的女人 提交于 2019-11-30 01:53:48
When installing an application that can use either .NET 4.0 or 4.5, what is the best practice when installing the prerequisites .NET framework? And how do you implement it using Burn in WiX? These are the options and trade-offs that I am aware of: Option 1: Install .NET 4.0 (just what you need) Advantages: None known (except for Windows XP, where this is the only choice) Option 2: Install .NET 4.5 if .NET 4.5 is not present Advantages: User won't have to install .NET 4.5 later for future apps. App won't experience a .NET version change when user later does upgrade to .NET 4.5. App immediately

How to debug custom bootstrap application?

主宰稳场 提交于 2019-11-29 20:52:12
I am using Burn for MSIs package. I am using Votive (Visual Studio) & my own custom BA instead of WiXBA. I tried to debug custom BA using Debugger.Launch() . But when I start debugging, error messages occur. No symbols are loaded for any call stack frame. The source code cannot be displayed I realized that package.exe links CustomBA dll which located at C:\Documents and Settings\user\Local Settings\Temp\{GUID}\ . {GUID} is always changed. So, whenever I run package.exe, always directory is changed. I think that is the reason to occur errors. In Visual Studio, When I started package.exe with

MSI/WiX - Assigning Component GUID's during Multiple Instance Transforms

假装没事ソ 提交于 2019-11-29 20:06:47
问题 Using WiX 3.5, I have an MSI with instance transforms allowing me to install the software on the same machine with different product names. To do this, I have a "hard-coded" list of product id's and names in the .wxs file defined conditionally. However, I have only the single Feature-ComponentRef definition that includes both file and non-file resources. Installation appears to work fine, but uninstalling the instances demonstrates the behaviour mentioned in these two sources: http://msdn

Web download of vcruntime140 with wix burn

女生的网名这么多〃 提交于 2019-11-29 17:42:41
I want to use the WiX bootstrapper burn to automatically download and install the vcruntime140 package (Visual C++ Redistributable for Visual Studio 2015) if it is required. It's trivially easy to do this for the .NET frameworks: <Chain> <PackageGroupRef Id="NetFx452Web"/> ... </Chain> but I can't find an equivalent for the vcruntime packages. (Is that because there isn't one, or am I just typing the wrong keywords into Google?) Just to be clear: I do not want to include the package with my installer. It must be a web download. Arkady Sitnitsky There is no PackageGroupRef for the redist as for