[wix-users] Passing command-line options to MsiPackage

Ивайло Гугалов ivaylogugalov at gmail.com
Mon Mar 15 09:34:36 PDT 2021


Thanks Andreas for the quick answer.
Although this is how it should work, the application requires a reboot
after being installed from the msi so it can function properly.
Strangely setting the MsiProperty: MSIINSTALLPERUSER=1, fixes the reboot
problem, but breaks the uninstallation, as now only my Bundle is being
removed, but not the msi. I don't have a clue why this is happening and how
I should proceed.


На пн, 15.03.2021 г., 18:00 ч. Andreas Orzyszek via wix-users <
wix-users at lists.wixtoolset.org> написа:

> Hi,
> you don't have to pass it when using the MsiPackage element. These are
> the default options but if you really want to change it use the
> attributes on MsiPackage Element for it.
> https://wixtoolset.org/documentation/manual/v3/xsd/wix/msipackage.html
> You don't want an msi UI or reboots from an msi when using a bundle
> anyway so the defaults are fine in most cases.
> Regards,
> Andreas
> Am 15.03.2021 um 16:39 schrieb Ивайло Гугалов via wix-users:
> > Hello,
> >
> > I am having difficulties with the wix Bundle element.
> > I am creating a custom wrapper of an msi file with the Bundle element
> > and MsiPackage. I would like to pass to the msi package the command-line
> > options of silent installation and no reboot: <*/quiet>, </norestart>.*
> > How can I achieve this? Where should I put these command line values?
> >
> > Regards,
> > Ivaylo
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/

More information about the wix-users mailing list