I have created a basic msi project, it has some merge models, it has some registry keys under current user. but not support multi users, can you give me some good ideas? thank you
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How to make installer support all users
Started by
HermioneJJ
, Mar 29 2006 14:05
4 replies to this topic
Posted 30 March 2006 - 09:24
QUOTE |
but not support multi users |
I don't understand your question. Are you installing this package per-user or per-machine (ALLUSERS=1)?
Stefan Krüger
InstallSite.org twitter facebook
Posted 30 March 2006 - 09:59
I want to install per-machine
I used (ALLUSERS=1), when installing program, it will create a registry key under HKEY_CURRENT_USER\Software\MyProject\MyKey, and it has some registry information. It is ok for current user.
But if others user login it, the registry key does not exist under HKEY_CURRENT_USER, but another application needs to read registry information from there, so it could not support multi user to use it.
PS MyKey must be written to HKEY_CURRENT_USER, not HKEY_LOCAL_MACHINE. Could you give me some solution or direction about it?
Thank you so much
Erin
I used (ALLUSERS=1), when installing program, it will create a registry key under HKEY_CURRENT_USER\Software\MyProject\MyKey, and it has some registry information. It is ok for current user.
But if others user login it, the registry key does not exist under HKEY_CURRENT_USER, but another application needs to read registry information from there, so it could not support multi user to use it.
PS MyKey must be written to HKEY_CURRENT_USER, not HKEY_LOCAL_MACHINE. Could you give me some solution or direction about it?
Thank you so much
Erin
Posted 30 March 2006 - 10:25
This article might help you:
How do I add HKEY_CURRENT_USER registry entries to all profiles?
http://www.msifaq.com/a/1011.htm
How do I add HKEY_CURRENT_USER registry entries to all profiles?
http://www.msifaq.com/a/1011.htm
Stefan Krüger
InstallSite.org twitter facebook