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
- :
- Trying to Assign Simple CA to Button
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Nov 30, 2007
01:04 PM
Trying to Assign Simple CA to Button
I have a dialog button and I want to test out a CA script assigned to it.
In my setup.rul, I have the following:
Then in the Custom Actions, I created using the Wizard, I did an InstallScript Action with that function ServerDialog. I named it TestAction
I assigned it to my PushButton1 with "Do Action", TestAction, Condition = 1.
When I push the button in the installer, it takes me to the dialog saying that "Install Shield was Interrupted... rerun setup." Something on that line, and I had to push finish. Basically, I don't know what is happening behind the curtains.
-Pizzaman
In my setup.rul, I have the following:
export function NUMBER ServerDialog
function NUMBER ServerDialog( )
begin
MessageBox("HELLO", INFORMATION);
return 0;
end; //function end
Then in the Custom Actions, I created using the Wizard, I did an InstallScript Action with that function ServerDialog. I named it TestAction
I assigned it to my PushButton1 with "Do Action", TestAction, Condition = 1.
When I push the button in the installer, it takes me to the dialog saying that "Install Shield was Interrupted... rerun setup." Something on that line, and I had to push finish. Basically, I don't know what is happening behind the curtains.
-Pizzaman
(3) Replies
‎Nov 30, 2007
06:27 PM
An InstallScript custom action function wants a particular signature; perhaps try something like:
export prototype ServerDialog(HWND);The InstallShield help on "entry-point functions" should have more information.
function ServerDialog(hInstall)
begin
MessageBox("Made it.", INFORMATION);
return ERROR_SUCCESS;
end;
‎Dec 01, 2007
10:27 PM
I think you might want to read:
http://blog.deploymentengineering.com/2006/06/installscript-ca-performance-issue.html
http://blog.deploymentengineering.com/2006/06/installscript-ca-performance-issue.html