I have a script where the ALLUSERS = TRUE
Down in the Perform Installation section I have the following code:
Write Registry Key HKCU\Software\Test\Test, 0
AND
Write Registry Key HKLM\Software\Test\Test, 0
Essentially wanting the key in both HKCU and HKLM. We are testing this as apparently a supporting external application is looking at one of these keys... sadly over different versions of that 3rd party app it has looked at HKCU in some versions and in later versions it looked in HKLM so I really need to store this in both places.
But when the script is run it does NOT write to both HKCU and HKLM is only goes to HKCU.
I thought ALLUSERS = TRUE was controlling this. But I tested this by setting ALLUSERS to FALSE right before the Write Registry from HKLM, but that did not work.
Am I missing something.
Thanks,
Greg
Write Registry Key HKLM not working
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Write Registry Key HKLM not working
Dear Greg,
did you have a look at the following threads?
https://www.installaware.com/forums/viewtopic.php?f=2&t=10224
https://www.installaware.com/forums/viewtopic.php?f=2&t=7225&p=26942
https://www.installaware.com/forums/viewtopic.php?f=2&t=10725
Hope this helps you.
Regards
did you have a look at the following threads?
https://www.installaware.com/forums/viewtopic.php?f=2&t=10224
https://www.installaware.com/forums/viewtopic.php?f=2&t=7225&p=26942
https://www.installaware.com/forums/viewtopic.php?f=2&t=10725
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Write Registry Key HKLM not working
Interesting
This is a 32 bit application and setup has the Set Win32 to Native 32 bit windows and windows 32 on windows 64 install mode.
The HKCU\Software\Test\Test value entry is going directly where I told it to go. NOT in HKCU\Software\Wow6432Node\Test
BUT I do NOW see the HKLM\Software\Test\Test value entry going into HKLM\Software\Wow6432Node\Test\Test.
I didn't see it there earlier. Maybe I forgot to refresh the registry at some point while I had it up and running.
Thanks.
This is a 32 bit application and setup has the Set Win32 to Native 32 bit windows and windows 32 on windows 64 install mode.
The HKCU\Software\Test\Test value entry is going directly where I told it to go. NOT in HKCU\Software\Wow6432Node\Test
BUT I do NOW see the HKLM\Software\Test\Test value entry going into HKLM\Software\Wow6432Node\Test\Test.
I didn't see it there earlier. Maybe I forgot to refresh the registry at some point while I had it up and running.
Thanks.
Who is online
Users browsing this forum: No registered users and 135 guests