Jul 24, 2013
12:17 AM
I have just figured out the reason. I tried to read the 64 bit registry keys in my 32 bit installer without setting the registry options. After add the following to my code, everything is OK now: REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY;
... View more
Jul 23, 2013
10:25 PM
Hi all, Thanks a lot in advance for any possible help! I am using InstallShield professional edition with an evaluation license. The problem I have is that RegDBQueryKey function get cannot find all the sub keys of a registry key. My codes are: function RemoveTarmaInstallation(hMSI) // To Do: Declare local variables. STRING szKey, szName, svValue, szMsg; NUMBER nvType, nvSize; LIST listNames; begin // To Do: Write script that will be executed when MyFunction is called. if (RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE) < 0) then MessageBox ("RegDBSetDefaultRoot failed", SEVERE); endif; szKey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall"; if (RegDBKeyExist(szKey) < 0) then SprintfBox (INFORMATION, "Error", "Non-existing key: %s", szKey); return; endif; listNames = ListCreate(STRINGLIST); if (RegDBQueryKey(szKey, REGDB_KEYS, listNames) < 0) then SprintfBox (INFORMATION, "Error", "failed to query key: %s", szKey); return; else SdShowInfoList("INFO", "value names", listNames); endif; end; The running result is: Is there any special reason for those keys don't show up? Regards!
... View more
Labels
- Labels:
-
InstallShield 2013
Jul 23, 2013
07:06 PM
You don't have to register a dll by yourself. In the "files and folder" section, right click on your dll file and then choose "Properties". In the pop out dialogue you will find different ways to register your dll.
... View more
Latest posts by Yibing
Subject | Views | Posted |
---|---|---|
874 | Jul 24, 2013 12:17 AM | |
2400 | Jul 23, 2013 10:25 PM | |
1096 | Jul 23, 2013 07:06 PM |
Activity Feed
- Posted Re: RegDBQueryKey cannot get all sub keys on InstallShield Forum. Jul 24, 2013 12:17 AM
- Posted RegDBQueryKey cannot get all sub keys on InstallShield Forum. Jul 23, 2013 10:25 PM
- Posted Re: How I can register a dll when the instalation have been completed? on InstallShield Forum. Jul 23, 2013 07:06 PM