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
- :
- Re: custom action
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
‎Jul 31, 2007
01:57 AM
custom action
Is it possible to call vbscript and dll custom action within InstallScript and how can I do that? Thanks.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 31, 2007
03:16 AM
If you have a Basic MSI or InstallScript MSI project, you can have VBScript custom action, and DLL custom action calling Windows Installer DLL. You don't have to use InstallScript custom action.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 31, 2007
03:29 AM
I have InstallScript MSI Project and when I display SdCustomerInformationEx dialog I want to verify for entered serial number (example below). Logic for verifying serial numbers should probably be inside dll or vbscript? How can I implement that? Should I call dll from installScript to verify serial number?
if (szSerial !=) then
MessageBox("You have entered invalid product key.", WARNING);
goto Dlg_SdCustomerInformationEx;
endif;
Thanks!
if (szSerial !=
MessageBox("You have entered invalid product key.", WARNING);
goto Dlg_SdCustomerInformationEx;
endif;
Thanks!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 31, 2007
05:57 PM
In this case, you wouldn't want to verify the serial number in a VBScript, which is in plain text. A DLL will be fine. You can use a DLL by calling UseDLL.