[virt-tools-list] [PATCH virt-viewer] msi: learn to build a non-privileged per-user installer

Marc-André Lureau marcandre.lureau at gmail.com
Fri Jul 12 10:36:58 UTC 2013


On Fri, Jul 12, 2013 at 10:34 AM, Christophe Fergeau
<cfergeau at redhat.com> wrote:
> Hey,
>
> I guess it's not possible to have a single installer handling both cases,
> which does user install if it does not have enough privileges, admin
> install if it does have enough privileges, and a command-line arg to force
> user-install?

I looked at it, but it's only possible available since Win7 /
Installer 5.0. I would also like to see an example out there in the
wix community before implementing it.

And it's a bit controversial, see also this long post:
http://csi-windows.com/blog/all/27-csi-news-general/108-windows-7-msi-5-per-user-applications-pua-a-no-starter

> On Thu, Jul 11, 2013 at 09:30:18PM +0200, Marc-André Lureau wrote:
>> @@ -22,13 +32,13 @@
>>
>>    <?define UpgradeCode = "5B027138-1A63-49E6-877E-055E5EEC1903"?>
>>    <Product Id="*"
>> -           Name="VirtViewer $(var.Version) ($(var.ArchString))"
>> +           Name="VirtViewer $(var.Version) ($(var.ArchString)$(var.UserString))"
>>             Manufacturer="$(env.MANUFACTURER)"
>>             Version="$(var.Version)"
>>             UpgradeCode="$(var.UpgradeCode)"
>>             Language="1033">
>>
>> -    <Package InstallerVersion="200" Compressed="yes" Comments="comments"/>
>> +    <Package InstallerVersion="200" Compressed="yes" InstallScope="$(var.Scope)"/>
>
> 'Comments' is removed here, is it intentional?

Ah yes, the last msitools handle it with a better default value.


--
Marc-André Lureau




More information about the virt-tools-list mailing list