wix3.6

view MSI strings in binary

只愿长相守 提交于 2019-12-09 07:16:13
问题 I wanted to view the strings/text that are/is displayed on the UI when MSI is run in binary mode. basically i have the localized wxl files and the localized msi. wanted to compare the text. So my approach is to view the binary content of the strings to compare. Can anyone please suggest me what tools i can use? Using orca I am able to see the strings. But I would like to see the binary/hex value for those. Thanks a lot Best Regards, Marc 回答1: I don't know tools which export strings as binary

WiX Burn - Determine what items are already installed

六月ゝ 毕业季﹏ 提交于 2019-12-09 05:36:36
问题 I've a burn installation whereby the user can select which of three options to install - each one directly relates to one of three MsiPackages in a chain, such as : <Chain> <MsiPackage SourceFile="..\ProductA\bin\Release\ProductA.msi" InstallCondition="chkProductA" /> <MsiPackage SourceFile="..\ProductB\bin\Release\ProductB.msi" InstallCondition="chkProductA" /> <MsiPackage SourceFile="..\ProductC\bin\Release\ProductC.msi" InstallCondition="chkProductC" /> </Chain> All fine. However, when I

“ICE38: Component installs to user profile” error for a specific component

烈酒焚心 提交于 2019-12-08 17:38:13
问题 I am trying to write a Windows Installer script in WiX 3.6 with a per-machine and x64 architecture only setting. I have the following project structure (shortened): <Directory Id="ProgramFiles64Folder" Name="PFiles"> <Directory Id="APPLICATIONFOLDER" Name="My Company"> <Directory Id="ProductFolder" Name="My Product"> <Component Id="MainComponent" Guid="" Win64="yes" KeyPath="yes"> ... </Component> <Directory Id="DataFolder" Name="Data"> <Directory Id="Machine" Name="Machine" > <Directory Id=

Wix error code 2343

孤街浪徒 提交于 2019-12-08 05:43:39
问题 I am packaging a MSI using WIX. The binaries need to be installed on a UNC drive (\share\xxxz\east). The installation works fine, the binaries are installed on the UNC, but I get the following error during uninstallation. "The installer has encountered an unexpected error installing the package. This may indicate a problem with this package. The error code is 2343." What's driving me crazy is why the installation works and the uninstall fails! Below is what my wix script looks like... <?xml

How to know the version and edition of SQL Server through registry search

假装没事ソ 提交于 2019-12-08 05:27:00
问题 I'm using below registry search to find out if MS SQL Server 2005 having an instance named XXX is installed or not. <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server\XXX\MSSQLServer\CurrentVersion" Result="exists" Variable="SQLServer2005" Value="9.00.5000.00"/> How can I search the MS SQL Server 2005 edition (developer,express etc) through registry search only? 回答1: Use below code: <Property Id="SQL_EDITION"> <RegistrySearch Id="CheckSQLEdition" Root="HKLM" Key=

WiX ManagedBootstrapper SetDownloadSource confusion

懵懂的女人 提交于 2019-12-08 04:32:08
问题 I am a bit confused by the method Engine.SetDownloadSource(). What I am trying to do is change the download URL for the bundled packages from an external website to an internal one. (If there is an easier way to do this, I am open to other suggestions). Now for the problem. When calling this method it is asking for a user and password. I am not sure where I should get this info from. string downloadSource = Path.Combine(WebSitePath(), "WebSetup/WebSetupData/", Path.GetFileName(args

How do I get WiX to generate a 64-bit MSI?

拥有回忆 提交于 2019-12-07 22:30:24
问题 I am using WiX 3.6 and VS2010. I have a 32-bit installation working and I'm trying to get a 64-bit installation working. I set the Platform to "x64" in the Configuration Properties. I set the Platform attribute in the Package tag to "x64" in the install script. I changed the installation directory from "ProgramFilesFolder" to "ProgramFiles64Folder". I added the attribute Win64="yes" to each component. I thought this was enough to generate a 64-bit MSI, but it still insists on installing

How do I pass a default 'install location' to the RtfLicense bootstrapper?

做~自己de王妃 提交于 2019-12-06 20:58:08
问题 I'm using an rtflicence standard bootstrapper to install dotnet before my poject msi in a chain. I noticed that there's an 'options' button which displays an install location dialog and allows the user to change the default installation directory. I need to either: Prevent this options button from being displayed, or Populate the install location with a default path, and pass this back to the installer should the user change it. I read that it's possible to pass Burn variables to msipackages

WiX ManagedBootstrapper SetDownloadSource confusion

冷暖自知 提交于 2019-12-06 16:25:04
I am a bit confused by the method Engine.SetDownloadSource(). What I am trying to do is change the download URL for the bundled packages from an external website to an internal one. (If there is an easier way to do this, I am open to other suggestions). Now for the problem. When calling this method it is asking for a user and password. I am not sure where I should get this info from. string downloadSource = Path.Combine(WebSitePath(), "WebSetup/WebSetupData/", Path.GetFileName(args.DownloadSource)); Engine.SetDownloadSource(args.PackageOrContainerId, args.PayloadId, downloadSource, user,

Wix error code 2343

柔情痞子 提交于 2019-12-06 14:45:29
I am packaging a MSI using WIX. The binaries need to be installed on a UNC drive (\share\xxxz\east). The installation works fine, the binaries are installed on the UNC, but I get the following error during uninstallation. "The installer has encountered an unexpected error installing the package. This may indicate a problem with this package. The error code is 2343." What's driving me crazy is why the installation works and the uninstall fails! Below is what my wix script looks like... <?xml version="1.0" encoding="UTF-8"?> <!-- Create the package per machine and not per user --> <Package