windows-installer

WIX Burn Bootstrapper not asking for admin rights for my MSI

ε祈祈猫儿з 提交于 2019-12-22 02:41:13
问题 I created an MSI with WIX that needs elevated permissions to work correctly. In the MSI Project, I specified this via <Package [...] InstallPrivileges="elevated" /> Now I included this MSI in a custom bootsrapper project, based on WixWPF Bootstrapper. As I understand it, the bootstrapper itself should not alter the machine state and thus should not require elevated privileges. I would now expect the Bootstrapper to automatically launch the integrated MSI with elevated priviliges, prompting

WIX Burn Bootstrapper not asking for admin rights for my MSI

流过昼夜 提交于 2019-12-22 02:41:03
问题 I created an MSI with WIX that needs elevated permissions to work correctly. In the MSI Project, I specified this via <Package [...] InstallPrivileges="elevated" /> Now I included this MSI in a custom bootsrapper project, based on WixWPF Bootstrapper. As I understand it, the bootstrapper itself should not alter the machine state and thus should not require elevated privileges. I would now expect the Bootstrapper to automatically launch the integrated MSI with elevated priviliges, prompting

How does uninstall process work in windows?

戏子无情 提交于 2019-12-22 01:32:49
问题 When I'm uninstalling a program from control panel how does it know what components and features are installed on the machine? If I have the .msi file I can use ORCA to take a look inside windows installer database and see all the actions and components in the package. But if user have deleted .msi file then how does windows installer knows about installed features? 回答1: During the installation, a copy of the MSI ( smaller because it's been stripped of media ) is cached in the C:\Windows

Can I use msilib or other Python libraries to extract one file from an .msi file?

蹲街弑〆低调 提交于 2019-12-22 01:31:26
问题 What I really want to do is determine whether a particular file in the MSI exists and contains a particular string. My current idea is to run: db = msilib.OpenDatabase('c:\Temp\myfile.msi',1) query = "select * from File" view = db.OpenView(query) view.Execute(None) cur_record = view.Fetch() # do this until I get the record I want print cur_record.GetString(3) # do stuff with this value And then if it's there, extract all the files using msiexec /a c:\Temp\myfile.msi /qn TARGETDIR=c:\foo and

WIX 3.8 msiexec.exe /quiet Error 1603

我的梦境 提交于 2019-12-22 00:23:21
问题 I am using WIX 3.8, Windows 8 Pro, Visual Studio 2013, and I am doing a Silent Installation. When I run with no /quiet arguments, Ir runs OK. But when I put "/quiet", nothin happend. There is some problems with /qn Arguments... Any other Arguments Runs OK. string arg = " SetupWIX.msi"; Process p = new Process(); p.StartInfo.FileName = "msiexec.exe"; p.StartInfo.CreateNoWindow = true; p.StartInfo.Arguments = "/i " + arg +" /quiet /l*v log.txt"; p.Start(); And it give error 3. MainEngineThread

Need a way to add one property to the msi properties table in setup project in VS2010

て烟熏妆下的殇ゞ 提交于 2019-12-21 23:13:09
问题 I've been using Orca to manually add property "REINSTALLMODE" value "amus" into the msi property table every time I build it. I'm sick of this. I looked into Wix but so far I don't think its worth the hassle to learn it/switch to it just yet, even though it will solve this problem. Is there a way I can automatically insert this one property into the msi after the build is complete? Preferably, it will use only vanilla visual studio 2010 and not depend on third party programs or system

Single EXE file to install a group of software and loading files

情到浓时终转凉″ 提交于 2019-12-21 22:38:44
问题 I have devoloped a Struts 2 web application. For running it on a server, I need to install the following: JDK Tomcat MySQL I need to sent my project to a foreign client. He asked me to convert my entire project and software into a single EXE file, so that using a single EXE file he could install everything and load my project into the server. That is, he could be able to load the project on the server using that single exe. The EXE file will start invoking the installers one by one and

How do I change ROOTDRIVE with a CustomAction?

对着背影说爱祢 提交于 2019-12-21 21:34:30
问题 Normally, you can change the default root drive to install your application to using: <Property Id="ROOTDRIVE">D:\</Property> But now, I wish to change it using a CustomAction that gets called on a next button click in my install wizard: [CustomAction] public static ActionResult SetFullInstallRootDrive(Session session) { session["ROOTDRIVE"] = session["DRIVE_NAMES"].ToString(); } DRIVE_NAMES represents the drive selected, using a combo box, and ROOTDRIVE gets properly set to either whatever

Can we localize WIX msi and bundle using language selection UI at runtime?

本小妞迷上赌 提交于 2019-12-21 20:36:57
问题 We have an MSI and Bundle created in Wix. I need to localize both of these in such a way that language selection GUI will be popped-up and language can be selected by the user at run time. Would be really appreciated if anybody can help me on this. For MSI, i am working on creating another bootstapper for bringing-up with language selection combobox and invoke the tranfomed MSI with the required transform(using command shell). I am still not sure about the feasibilty of this approach. I am

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