wix

how to fix warning ICE39: Admin Image flag set in SummaryInfo stream

谁都会走 提交于 2019-12-24 17:25:36
问题 I am creating an installer using Wix in visual studios 2012. Below is my code for the product.wxs. I am receiving a "warning ICE39: 'Admin Image' flag set in SummaryInfo stream. Should be set only for Admin packages." I have changed admin image from yes to no and rebuilt, it removes the warning but i am still unable to install on a computer that has local admin privileges, and is also a domain admin. However, i can install it on my machine, and im not a domain admin, I would upload the image

how to fix warning ICE39: Admin Image flag set in SummaryInfo stream

心不动则不痛 提交于 2019-12-24 17:23:13
问题 I am creating an installer using Wix in visual studios 2012. Below is my code for the product.wxs. I am receiving a "warning ICE39: 'Admin Image' flag set in SummaryInfo stream. Should be set only for Admin packages." I have changed admin image from yes to no and rebuilt, it removes the warning but i am still unable to install on a computer that has local admin privileges, and is also a domain admin. However, i can install it on my machine, and im not a domain admin, I would upload the image

How can I use WiX properties in a sql file executed from the installer?

◇◆丶佛笑我妖孽 提交于 2019-12-24 17:22:39
问题 I have a WiX install project that I am rewriting based on our previous installers from Wise. In Wise, you can add files for it to execute (ours used sql script files) and it had a replace tab that specified certain text in the file to be replaced with either with static text or a Wise property. I am wondering if this is possible in WiX? Example: use [SQLDBNAME] SELECT * FROM Employee Where WiX would read the file and replace the [SQLDBNAME] with the value set in WiX's properties table? 回答1:

Wix Heat Error on Jenkins CI

早过忘川 提交于 2019-12-24 16:17:20
问题 I am building a wix bundle that depends on a wix setup project and the wix setup depends on a C# project. When I build locally, everything works great but when I build the bundle on Jenkins, I get an error when I try to harvest some files. The heat operation is a pre-build event. heat.exe : error HEAT5053: The directory 'c:\.Hudson\jobs\Project-Branch\workspace\MyProject\bin\x86\Release\Help' did not contain any files or sub-directories and since empty directories are not being kept, there

How do I mark a directory to be deleted after reboot?

孤人 提交于 2019-12-24 16:01:28
问题 I've got an uninstaller that performs some actions and then prompts the user to reboot. I'd like a directory to be deleted after the reboot takes place. I know there's a way to do this, I'm just not sure how. I'm using a WiX installer, and I'd imagine I could use that to do so, somehow, but I'm open to alternatives (whatever's simplest is just fine with me). My target platform is Windows 7, though it would be nice if this worked with older versions of Windows as well. What's the simplest way

WIX: How can I uninstall a previous MSI built using a VS *.vdproj

血红的双手。 提交于 2019-12-24 15:30:26
问题 I'm using WIX to create a new installer for an existing product. The installer is very simple - just drops a few dll's into a specified folder on disk. In the field, my users already have that folder with old dll's in them (since they installed the old MSI - created using a *.vdproj project in VS). My problem is that after I install the WIX, I have both the old MSI and the new Wix MSI appear in Add/Remove. Expected (? since these 2 are two different kind of MSI's?). I need some kind of an

Use wix to perform function of REGSVR32

好久不见. 提交于 2019-12-24 14:50:29
问题 I'm new to wix and trying make an installer for a few dlls. One of the tasks that has been done manually in the past is to use REGSVR32 to register the com objects. I assume that RegisterClassInfo in wix will perform this function, but I've been uanable to find example code that shows the correct syntax. I'd appreciate it if someone would point me to a good example or post it here as an answer. 回答1: I assume you are using wix v3.5 from the question's tag. Basically, use the harvest tool (heat

How can I insert custom dialog before WelcomeDlg?

北慕城南 提交于 2019-12-24 14:35:49
问题 I want to let the user select the language before start the welcome dialog in WiX, so that the installer can install the different features for each language. So far, I have created my own custom dialog that contains ComboBox, I am aware of how to insert custom dialog between any other dialog, but I have no idea how to insert it before the WelcomeDlg. 回答1: I have not done it but I am sure it can be easily done: At the bottom of the WelcomeDlg you should see this: <InstallUISequence> <Show

How to skip a bootstrapper or ignore fail in Windows 8?

南笙酒味 提交于 2019-12-24 14:32:21
问题 I have a WiX installer and a number of bootstrappers. We recently added SQL LocalDB support and found we needed to package .Net 4.0.2 to get it to work. I am now testing on Windows 8, and find that this patch fails and isn't actually needed for this OS. However, my installer fails because .Net 4.0.2 fails. I am trying to find a way of either skipping this patch in Windows 8 or just ignoring a fail for this patch? I have " InstallConditions " and " ExitCodes " in my package.xml , but I don't

Wix does not remove service and files on uninstall

拥有回忆 提交于 2019-12-24 13:44:14
问题 First of all I read this topic: Why isn't my service deleted on uninstall? (WIX), but it didn't help. I am tyrying to install my application with SQLite interop as Windows Service. Install works great, but during uninstall only SQLite.Interop.dll files are deleted, service is still running and files are deleted at all. My WIX file look like following: <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Product Id="*" UpgradeCode=