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
- :
- Update the Progress Bar
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
‎Jun 08, 2008
12:40 PM
Update the Progress Bar
Hi,
I have a basic MSI Project. I want to update the progress bar as I call an execute CA that install some files.
I find 2 VBScripts functions - one to add the total ticks during script generation - immediate CA and one to add individual ticks during script execution - deferred CA . I place these 2 VBScript CA just before calling my execute CA but I need to call to the function of the deferred action in order to influence the Progress Bar. How can I do it ? In a 4 CA ?
Thanks,
Eran
I have a basic MSI Project. I want to update the progress bar as I call an execute CA that install some files.
I find 2 VBScripts functions - one to add the total ticks during script generation - immediate CA and one to add individual ticks during script execution - deferred CA . I place these 2 VBScript CA just before calling my execute CA but I need to call to the function of the deferred action in order to influence the Progress Bar. How can I do it ? In a 4 CA ?
Thanks,
Eran
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2008
06:08 PM
In that situation the deferred action is the one that increments the progress bar; can your code be moved to the custom action DLL so that it feeds "live" progress information back to the installer (posting an increment after each file, for example)? Or otherwise have your executable feed information back to the DLL so that it can (again) post information to the running MSI?
(As an aside, if possible your installer should use built-in MSI functionality to handle file transfer, instead of using a custom action, to make uninstallation, rollback, uninstall+rollback, etc., easier...)
(As an aside, if possible your installer should use built-in MSI functionality to handle file transfer, instead of using a custom action, to make uninstallation, rollback, uninstall+rollback, etc., easier...)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 12, 2008
02:37 AM
Thanks for the reply,
Do you mean that the deferred CA ( VB Script) will Execute the .EXE file ( ShellExecute function) instead of a separate Execute CA ? if so, where exacty I need to put it inside the Code ?
P.S
The EXE file import some content to the Application. I can't use Windows Installer instead.
Thanks,
Eran
Do you mean that the deferred CA ( VB Script) will Execute the .EXE file ( ShellExecute function) instead of a separate Execute CA ? if so, where exacty I need to put it inside the Code ?
P.S
The EXE file import some content to the Application. I can't use Windows Installer instead.
Thanks,
Eran
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)