burn

WIX Bootstrapper - Add combo box

浪尽此生 提交于 2019-12-11 07:11:35
问题 How do I add a combo box to a WiX Bootstrapper? I use HyperlinkLargeTheme.xml and have tried to add a combo box to the install page. It appears on the dialog, but I don't know how to add values to it. <Page Name="Install"> <Text Name="InstallLanguge" X="20" Y="200" Width="100" Height="17" FontId="3" DisablePrefix="yes" HideWhenDisabled="yes">Select Language</Text> <Combobox X="130" Y="200" Width="150" Height="17" FontId="3" Name="Language"> <ListItem Text="English" Value="eng" /> <ListItem

Force user to reboot machine with Burn

跟風遠走 提交于 2019-12-11 03:52:43
问题 I have a bootloader that I created with WiX 3.6/Burn and was wondering if there was a command similar to <ExitCode Behavior="forceReboot"/> that would execute only on uninstall after everything was executed in the <chain> tag. 回答1: You can put the ScheduleReboot action in one of your MSIs and condition the action to run on unistall. Burn will respect the restart request and inform the user a restart is required at the end. 来源: https://stackoverflow.com/questions/13979073/force-user-to-reboot

WiX Bootstrapper - difficulty detecting if software is already installed C++ redistributable, SQL Server Compact 3.5 SP2

筅森魡賤 提交于 2019-12-11 03:27:23
问题 So far (thanks to a post from Rob Mensching), my code will detect .NET 4.0 if it's installed, and it'll pass right over it. I'm not able to correctly detect Microsoft Visual C++ 2010 x86 Redistributable OR Microsoft SQL Server Compact 3.5 Service Pack 2. My code is below. I'm learning, so I would appreciate as much constructive criticism as possible. <!-- Search for .NET 4.0 --> <util:RegistrySearch Id="NETFRAMEWORK40" Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full" Value

Wixtool Burn install and uninstall 2 separated MSIs

送分小仙女□ 提交于 2019-12-11 02:52:06
问题 I have created a Wix custom bootstrapper application and bundle file using Wix 3.8. My Chain tag looks like: <Chain> <PackageGroupRef Id="NetFx451Redist"/> <MsiPackage Id="MSI1" SourceFile="$(var.MSI1Path)"/> <MsiPackage Id="MSI2" SourceFile="$(var.MSI2Path)"/> </Chain> The installer works fine, and I can run installed *.exe files. However, when I check on Programs and Features, there is only 1 "big program" contain the size of MSI1, MSI2 and .Net4.5.1 (event .Net 4.5.1 installed before).

Include Image in Managed Burn BootstrapperApplication

强颜欢笑 提交于 2019-12-11 02:36:02
问题 I'm working on an installer with wix using Burn and a custom bootstrapper application. Everything works fine, but i fail to include a simple image into my application UI. I include the Image into my UI like this: <Image Source="logo.jpg" Height="100" HorizontalAlignment="Center" Margin="0,0,0,20" VerticalAlignment="Center" Width="250"/> It shows normal in the designer. I reduced the interface to nothing but the image to exclude other possible errors. I also added the Image as a payload in the

BURN: Customize Log File Location

夙愿已清 提交于 2019-12-11 02:24:20
问题 All I am trying, is to set Log file location and expect BURN to create Log File to my given location. I have tried this by following Wix Bootstrapper MSI-Package logging, how? post, but got no success and BURN still created LOG Files at default (%TEMP%) location. Looking forward for guidelines. Thanks 回答1: See answer from below question How to log an installation made from a WiX bundle There is a Wix variable called WixBundleLog which holds and sets the log file location for Burn bundles,

How to include full .NET prerequisite for Wix Burn installer

北战南征 提交于 2019-12-11 02:15:44
问题 I'm writing a managed Bootstrapper using Wix Burn and this Bootstrapper depends on .NET 4. If the .NET 4 is not installed on the machine, burn downloads it, installs it and then runs managed bootstrapper. But, I need to support also fully offline scenarios where .NET 4 can't be downloaded. How can I embed .NET 4 installer into my package so that it can be installed for managed bootstrapper to run? Wix documentation here says " Target your bootstrapper application to the version of .NET built

WiX Custom Bootstrapper Application and .NET 4.5

北战南征 提交于 2019-12-10 18:32:19
问题 I am having difficulties getting a WiX Custom Bootstrapper Application that targets .NET 4.5 to work. I have the following line in my Bundle.wxs. <PackageGroupRef Id="NetFx45Web" /> My BootstrapperCore.config is as follows. <configuration> <configSections> <sectionGroup name="wix.bootstrapper" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperSectionGroup, BootstrapperCore"> <section name="host" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.HostSection,

Digital signature timestamp “not available” on XP/Vista, causing verification failure

倾然丶 夕夏残阳落幕 提交于 2019-12-10 15:39:54
问题 Background I have a WiX/Burn installation bundle which, among other things, installs the ReportViewer 2012 Runtime. When run on a Windows 7 or later machine, it works fine. On XP (SP3) or Vista (SP1) it fails. Now, checking the download page for the ReportViewer redistributable, I do notice it says it requires Vista SP2 or higher. Normally I would accept this, but a)I think this has recently changed, and b)downloading and manually installing this redistributable works. It's possible there are

Wix bootstrapper uninstall shortcut

末鹿安然 提交于 2019-12-10 15:39:43
问题 I am trying to create shortcuts to uninstalling whatever the bootstrapper has installed. So simply i want to do the same thing as the uninstall does when going to Add and remove programs. I found that de bootstrapper is installed in package cache{guid}[bootstrappername].exe One of the msi packages that it installs also installs a shortcut to this bootstrapper /uninstall call. However problem is that the GUID of the package is regenerated on every build. So i some how have to set it as a msi