/build/static/layout/Breadcrumb_cap_w.png

why it is not recommended to install a msi having allusers=1 from desktop?

I have an msi that has allusers property =1 ,why it is not recomended to install it from desktop?

2 Comments   [ + ] Show comments
  • The MSI's location is irrelevant. The crux is which account is used to launch it and which OS it's launched on.

    Google for 'ALLUSERS' property. - anonymous_9363 10 years ago
  • but y we keep msi on location like c:\temp - subhojit123 10 years ago

Answers (5)

Posted by: Badger 10 years ago
Red Belt
0

yep, location doesn't matter, but ideally for repair, it should be in a location anybody can get to, like a UNC path, or a local cache area. NOT C:\Temp, or C:\Windows\Temp (try and make it a bit harder for any hackers...)

for Windows 7, I normally set,

ALLUSERS=2
MSIINSTALLPERUSER=""
Heres a link MSDN MSIINSTALLPERUSER property

This forces a per machine install, IF the MSI has been written for dual purpose (machine or user install)
I have started to write a blog on using the DuplicateFile table to help with selfrepair putting a file into a users profile. (but I have been very busy....)

 

Posted by: GAKIS 10 years ago
Fourth Degree Green Belt
0
As mentioned it should not matter where the msi is located.

ALLUSERS=1 specifies per-machine installation context to the MSI.

See: http://msdn.microsoft.com/en-us/library/aa367559(v=vs.85).aspx

You may be reading something to not set the installation folder during install to the Desktop.  This would be because then another user logs in and may not have access to your desktop.
Posted by: vjaneczko 10 years ago
9th Degree Black Belt
0
As VBScab said, the location of the MSI does not matter - that's one of the wonderful things about an MSI. Put it on a thumb drive, burn it to a CD, have it on a server; it matters not.  But some thought should go into where one runs the install from.  The TEMP folder is usually the first place one deletes files to free up space, and if a repair is performed, the initial location of the MSI is expected by the cashed copy of the MSI.  If you run the install from your desktop, and another user logs in and needs to access for a self-heal or an Active Setup, they won't have rights to your desktop and the repair will fail.  So, running it from the temp folder or the desktop is unwise, but will not cause a problem.
Posted by: subhojit123 10 years ago
Senior White Belt
0
Guys thank you very much...
Posted by: pjgeutjens 10 years ago
Red Belt
0
There IS a scenario where the original source location for the MSI comes into play, and that is when files have to be put in an individual user's profile through advertisement. Then the fact that you cannot reach the original MSI file (like if it's in another user's desktop folder) can become problematic.

However, if you keep this in mind when building/customizing the MSI, your package can deal with this scenario without running into problems. (see http://www.itninja.com/blog/view/a-general-approach-to-software-package-using-duplicatefiles)

PJ

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ