hello, how i can make package with registry for allusers
-
maksim.ivannikov
- Posts: 7
- Joined: Thu Nov 25, 2010 2:48 pm
hello, how i can make package with registry for allusers
please help me, how i can the create msi package for all users in registry?
instruction step by step?
may be you have sample?
with best regards...
instruction step by step?
may be you have sample?
with best regards...
Re: hello, how i can make package with registry for allusers
All you need to do is make sure the pre-defined variable ALLUSERS is set to TRUE (it is by default) and InstallAware will take care of it for you.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
-
maksim.ivannikov
- Posts: 7
- Joined: Thu Nov 25, 2010 2:48 pm
Re: hello, how i can make package with registry for allusers
i did it, it's not work....mills wrote:All you need to do is make sure the pre-defined variable ALLUSERS is set to TRUE (it is by default) and InstallAware will take care of it for you.
I need to add record in registry HKEY_CURENT_USER \ Software \ MyAPP \ - IA Studio R2. I did it, after installing with option (all users), this record have user which did the installation if run my application from another user this record is not there. I write in the record in registry HKEY_USER_DEFAULT \ Software \ MyAPP\. But in Windows 7 don't find this record. In Win XP I found it in HKEY_LOCAL_MACHINE.
Please explain why need a key HKEY_USER_DEFAULT, how to use it? And how can I make an entry in the registry (HKEY_CURENT_USER) for all users?
Re: hello, how i can make package with registry for allusers
Can you post the InstallAware clipboard data or a sample project?
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
-
maksim.ivannikov
- Posts: 7
- Joined: Thu Nov 25, 2010 2:48 pm
Re: hello, how i can make package with registry for allusers
mills wrote:Can you post the InstallAware clipboard data or a sample project?
Thank you for your answer.
In an attachment, my test project and a screenshot of administrators and users.
Please write what am I doing wrong?
Thank you.
- Attachments
-
- IA9r2.zip
- (2.11 MiB) Downloaded 472 times
Re: hello, how i can make package with registry for allusers
So, it looks like the issue is:
Registry writes to Root HKEY_USER_DEFAULT are appearing in HKEY_LOCAL_MACHINE (for All Users) and HKEY_CURRENT_USER (for only me).
Is that right?
Here's the behavior I recorded:
Registry writes to Root HKEY_USER_DEFAULT are appearing in HKEY_LOCAL_MACHINE (for All Users) and HKEY_CURRENT_USER (for only me).
Is that right?
Here's the behavior I recorded:
Installing for All Users
------------------------
XP:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D618AAD3001751644800DDAE47FABB77
HKEY_USERS\S-1-5-21-1844237615-1214440339-1801674531-1003\Software\My_Sample_Project_for_Win32_HKCU
HKEY_LOCAL_MACHINE\SOFTWARE\My_Sample_Project_for_Win32_HKUD
Win 7:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D618AAD3001751644800DDAE47FABB77
HKEY_LOCAL_MACHINE\SOFTWARE\My_Sample_Project_for_Win32_HKUD
Installing for Only Me
----------------------
XP:
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKUD
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-1844237615-1214440339-1801674531-1003\Components\D618AAD3001751644800DDAE47FABB77
HKEY_USERS\S-1-5-21-1844237615-1214440339-1801674531-1003\Software\My_Sample_Project_for_Win32_HKUD
Win 7:
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKUD
HKEY_USERS\S-1-5-21-2245668706-338162693-694846681-1000\Software\My_Sample_Project_for_Win32_HKUD
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
-
maksim.ivannikov
- Posts: 7
- Joined: Thu Nov 25, 2010 2:48 pm
Re: hello, how i can make package with registry for allusers
i have another datamills wrote:So, it looks like the issue is:
Registry writes to Root HKEY_USER_DEFAULT are appearing in HKEY_LOCAL_MACHINE (for All Users) and HKEY_CURRENT_USER (for only me).
Is that right?
Here's the behavior I recorded:
Installing for All Users
------------------------
XP:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D618AAD3001751644800DDAE47FABB77
HKEY_USERS\S-1-5-21-1844237615-1214440339-1801674531-1003\Software\My_Sample_Project_for_Win32_HKCU
HKEY_LOCAL_MACHINE\SOFTWARE\My_Sample_Project_for_Win32_HKUD
Win 7:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\D618AAD3001751644800DDAE47FABB77
HKEY_LOCAL_MACHINE\SOFTWARE\My_Sample_Project_for_Win32_HKUD
Installing for Only Me
----------------------
XP:
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKUD
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-1844237615-1214440339-1801674531-1003\Components\D618AAD3001751644800DDAE47FABB77
HKEY_USERS\S-1-5-21-1844237615-1214440339-1801674531-1003\Software\My_Sample_Project_for_Win32_HKUD
Win 7:
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKUD
HKEY_USERS\S-1-5-21-2245668706-338162693-694846681-1000\Software\My_Sample_Project_for_Win32_HKUD
Installing for All Users
-------------------------------------------
Win XP
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKCU
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\56BA75FE837200B4993B1561C03CDD71
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\80C6EA98ED9030E4AAEEEECEE5328F17
HKEY_LOCAL_MACHINE\SOFTWARE\My_Sample_Project_for_Win32_HKUD
HKEY_USERS\S-1-5-21-2316345038-3226950306-2666773314-1008\Software\My_Sample_Project_for_Win32_HKCU
Win7 (x64)
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKCU
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\56BA75FE837200B4993B1561C03CDD71
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\80C6EA98ED9030E4AAEEEECEE5328F17
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\My_Sample_Project_for_Win32_HKUD
HKEY_USERS\S-1-5-21-2963652725-2092158414-127373890-1173\Software\My_Sample_Project_for_Win32_HKCU
Installing for Only Me -
-------------------------------------------
Win XP
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKUD
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-2316345038-3226950306-2666773314-1008\Components\56BA75FE837200B4993B1561C03CDD71
HKEY_USERS\S-1-5-21-2316345038-3226950306-2666773314-1008\Software\My_Sample_Project_for_Win32_HKCU
HKEY_USERS\S-1-5-21-2316345038-3226950306-2666773314-1008\Software\My_Sample_Project_for_Win32_HKUD
Win7 (x64)
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKCU
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKUD
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-2963652725-2092158414-127373890-1173\Components\56BA75FE837200B4993B1561C03CDD71
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-2963652725-2092158414-127373890-1173\Components\80C6EA98ED9030E4AAEEEECEE5328F17
HKEY_USERS\S-1-5-21-2963652725-2092158414-127373890-1173\Software\My_Sample_Project_for_Win32_HKCU
HKEY_USERS\S-1-5-21-2963652725-2092158414-127373890-1173\Software\My_Sample_Project_for_Win32_HKUD
and values for windows 7
Registry writes to Root HKEY_USER_DEFAULT are appearing in :
for All Users
-----------------------
Win 7 (64)
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\My_Sample_Project_for_Win32_HKUD
Win 7 (32)
HKEY_LOCAL_MACHINE\SOFTWARE\My_Sample_Project_for_Win32_HKUD
for only me
------------------------
Win 7 (64)
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKUD
HKEY_USERS\S-1-5-21-2963652725-2092158414-127373890-1173\Software\My_Sample_Project_for_Win32_HKUD
Win 7 (32)
HKEY_CURRENT_USER\Software\My_Sample_Project_for_Win32_HKUD
HKEY_USERS\S-1-5-21-2963652725-2092158414-127373890-1173\Software\My_Sample_Project_for_Win32_HKUD
Re: hello, how i can make package with registry for allusers
I apologize it's not clear exactly what the problem is.
Can we get a clear definition of what you expect to happen?
Can we get a clear definition of what you expect to happen?
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
-
maksim.ivannikov
- Posts: 7
- Joined: Thu Nov 25, 2010 2:48 pm
Re: hello, how i can make package with registry for allusers
i need install my application for user - Administrator (for all users) and write key in registry HKEY_USER_DEFAULT values, i need this key for another users in registry HKEY_CURRENT_USER.mills wrote:I apologize it's not clear exactly what the problem is.
Can we get a clear definition of what you expect to happen?
run my test project for another user, not administrator, and you see.
Re: hello, how i can make package with registry for allusers
So, does it seem like the HKCU entries are appearing correctly, but not the HKUD?
I forgot to mention above, I was only searching for "Data_My_Sample_Project_for_Win32_HKUD" to see where it was being recorded.
I forgot to mention above, I was only searching for "Data_My_Sample_Project_for_Win32_HKUD" to see where it was being recorded.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
-
maksim.ivannikov
- Posts: 7
- Joined: Thu Nov 25, 2010 2:48 pm
Re: hello, how i can make package with registry for allusers
Hello,mills wrote:So, does it seem like the HKCU entries are appearing correctly, but not the HKUD?
I forgot to mention above, I was only searching for "Data_My_Sample_Project_for_Win32_HKUD" to see where it was being recorded.
User which do install application have key in registry HKCU
If user istall "for only me" then HKUD write is true in HKEY_CURRENT_USER
If user install "for All Users" then HKUD write is not true, write in HKEY_LOCAL_MACHINE.
Please help me, make key in registry HKEY_CURRENT_USER for all users
Is it possible?
Need an example please.
P.S.
Thanks for your support Andy Mills!
-
maksim.ivannikov
- Posts: 7
- Joined: Thu Nov 25, 2010 2:48 pm
it's possible? make install for all users?
Are you can give me sample, a litеle project which make install "for all users"?
We bought your product but don't use, because use this simple function it's not possibly....
Where i wrong?
We bought your product but don't use, because use this simple function it's not possibly....
Where i wrong?
Re: hello, how i can make package with registry for allusers
Please consider this:
http://support.microsoft.com/kb/256986
HKEY_CURRENT_USER - Contains the root of the configuration information for the user who is currently logged on.
HKEY_LOCAL_MACHINE - Contains configuration information particular to the computer (for any user).
To record in registry for All Users, you should use HKEY_LOCAL_MACHINE and use HKEY_CURRENT_USER for "only me".
http://support.microsoft.com/kb/256986
HKEY_CURRENT_USER - Contains the root of the configuration information for the user who is currently logged on.
HKEY_LOCAL_MACHINE - Contains configuration information particular to the computer (for any user).
To record in registry for All Users, you should use HKEY_LOCAL_MACHINE and use HKEY_CURRENT_USER for "only me".
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

