This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Ron a Prerequisite only once
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 28, 2019
06:58 AM
Ron a Prerequisite only once
I have a Prerequisite where i start an other setup I want to make sure that i do this only once There for i want to check if it was already installed. There fore i wold like registry Key. I know how to check if the Key exists. But how can i create the Key with my prerequisite?
- Tags:
- prerequisite
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 13, 2019
11:52 AM
Hi,
Hope pre-requisite you are going to add is an another setup.exe,which had been created via installshield.In that case you can write Installscript function which will set registry key on successful installation using functions like RegDBSetDefaultRoot,RegDBCreateKeyEx,RegDBSetKey as mentioned in example given in the below link:
You can create InstallScript custom-action which can call the specific function that can be sequenced on successful installation.Now registry key has been created.
You can process with registry based condition using Pre-requisite editor,rest all you might know i guess.
Since pre-requisite editor is just an editor ,it can't create registry entries.
Hope it helps,
Thanks,
Jenifer