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
- :
- Cas I use a Custom Action in my Installscript
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 20, 2009
07:25 AM
Cas I use a Custom Action in my Installscript
I am creating a Installscript MSI Project, and I was wondering can I use a cusom action I created. I created this custom action for another Installshield but this was a Basic MSI Project. Its a DLL which I use to check a entered license key and give back a resultcode so I know whit features can and can't be installed for this license key.
Can I reuse this custom action and how do I call it from my Installscript, or do I have to solve this into my Installscript itself?
Can I reuse this custom action and how do I call it from my Installscript, or do I have to solve this into my Installscript itself?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 20, 2009
06:38 PM
InstallScript MSI projects do support custom actions, so you could perhaps do the same thing you're doing with a Basic MSI project.
Otherwise, it depends what you want to do. InstallScript supports calling DLL functions (see UseDLL, UnUseDLL, and "Calling a .dll File Function"); or there's MsiDoAction to call a custom action defined in the CustomAction table but not in the sequences...
Otherwise, it depends what you want to do. InstallScript supports calling DLL functions (see UseDLL, UnUseDLL, and "Calling a .dll File Function"); or there's MsiDoAction to call a custom action defined in the CustomAction table but not in the sequences...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2009
01:23 AM
in Installshield I ask for a license key, after that I give this License key to my DLL which returns a Return code this returncode I use in the rest of Installshield for conditioning the Features and components that wil and wil not be installed.
I wil look into the functions you mentioned if they do not what I expect them to do I wil rewrite the code of my DLL into my Installscript.
I wil look into the functions you mentioned if they do not what I expect them to do I wil rewrite the code of my DLL into my Installscript.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)