Hello,
I'm investing a lot of time since a user had this problem but I didn't find any
solution:
UserA: S-1-5-21-<the middle of the users SID>-12617
UserA installs my MSI setup on ComputerA, there the following keys will be
written during the install process from the MSI itself:
[HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\<MyProductID>]
and additionally
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-<the
middle of the users SID>-12617\Products\<MyProductID>]
with the keys for the local cache file.
The key:
[HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\<MyProductID>]will be
roamed by default.
If UserA wants now to update the MSI package on ComputerB, the MSI wants to
uninstall the old MSI package, because of the
registry key under:
[HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\<MyProductID>]
Is there any chance to handle this?
e.g.:
I am able to override the uninstall logic with an own cleanup msi/tool with the
registry key:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall]?
I am able to define the local cache directory for my MSI in my install
directory?
I am able to save a copy of my MSI install directory? (I would prefer this, but
actually I have no idea if there is a msi conform way)
Anyone have another idea?
Or my package wasn't per user conform?
Product and package information (the section that should contain the relevant
information):
<Product Id="*" Name="!(loc.ProductNamePerUser)" Language="1033"
Version="$(env.VERSION_SHORT)"
Manufacturer="$(env.Manufacturer)" UpgradeCode="<XYZ>">
<Package Description="$(env.WixDescription)"
Comments="$(env.WixComments)"
Manufacturer="$(env.Manufacturer)"
InstallerVersion="300"
Compressed="yes"
InstallPrivileges="limited"
InstallScope="perUser"
/>
Best regards,
Martin
-----Original Message-----
From: Albert van Peppen [mailto:[email protected]]
Sent: Dienstag, 24. April 2012 11:44
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing into the roaming profile
My policy is always to use a per machine install in roaming profile
environments..
Besides the 'standard' discussion to determine if roaming profiles are a good
idea in an organization.
In most cases you will end up with a fragmented active directory; some users
are with a roaming profile, others are not (due to several things). So in this
scenario a per machine installation will always work, the per user part will
likely only consist of some registry work, which you can handle through active
directory policies :)
Best regards,
Albert van Peppen
Senior System Engineer
Insad Grafisch b.v.
Mollevite 28
6931 KG Westervoort
The Netherlands
-----Oorspronkelijk bericht-----
Van: Osanger, Martin
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Verzonden: 23 April 2012 09:20
Aan: General discussion for Windows Installer XML toolset.
Onderwerp: Re: [WiX-users] Installing into the roaming profile
Thanks for your answer.
Is there any other opportunity or what's a better (supported) way to handle
roaming profiles?
only per machine installations?
kind regards,
Martin
-----Original Message-----
From: Rob Mensching
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Sent: Freitag, 20. April 2012 16:16
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing into the roaming profile
I've never heard that Windows supported such behavior. Sounds interesting if it
does.
On Fri, Apr 20, 2012 at 6:37 AM, Osanger, Martin <
[email protected]<mailto:[email protected]>> wrote:
> Hello,
>
> Is there a Property or anything else I have to set on a per user
> installation with roaming profiles, so that the installation will be
> marked as roamed installation, and my setup will be shown in the ARP on
> another pc?
>
> Kind regards,
> martin
>
> -----Original Message-----
> From: Osanger, Martin
> [mailto:[email protected]]<mailto:[mailto:[email protected]]>
> Sent: Mittwoch, 18. April 2012 17:55
> To: [email protected]<mailto:[email protected]>
> Subject: [WiX-users] Installing into the roaming profile
>
> Hello,
>
> My current situation (per user installation):
>
> I install my files to the "AppDataFolder" directory (in a subfolder).
> Now I can switch the pc's and have the installed data (saved to
> roaming
> profile) available. But I'm not able to uninstall the files, if I'm
> not on the pc where I installed the msi file (cached-msi-file and ARP
> entry was not roamed)
>
> Some customers delete their "LocalAppDataFolder" on logoff, so I have
> to install it to the "AppDataFolder"
>
> Are there any best practices for creating a WIX based MSI for roaming
> profiles?
>
> Kind regards,
> martin
>
> ----------------------------------------------------------------------
> -------- Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second resolution
> app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> WiX-users mailing list
> [email protected]<mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ----------------------------------------------------------------------
> -------- For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> WiX-users mailing list
> [email protected]<mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
WiX-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
WiX-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users