[wix-users] Passing command-line options to MsiPackage
ivaylogugalov at gmail.com
Wed Mar 17 10:36:23 PDT 2021
Is there a way to specify the InstallScope like <InstallScope="perUser"> on
a bundle? I just have this code:
<MsiProperty Name="MSIINSTALLPERUSER" Value="1"/>
The msi inside the bundle has to be installed in the user context, that's
why I am using MSIINSTALLPERUSER=1.
But this requires the output .exe file to run with admin privileges, which
is not intended and the relationship between msi and the Bundle breaks.
Removing MSIINSTALLPERUSER=1, is working fine, but I don't want the
installed msi to require a restart or a log-off.
На пн, 15.03.2021 г. в 18:34 ч. Ивайло Гугалов <ivaylogugalov at gmail.com>
> 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> написа:
>> 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.
>> 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.
>> 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
>> WiX Toolset Users Mailing List provided by FireGiant
More information about the wix-users