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
- :
- Thanks
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
‎Nov 24, 2008
07:40 AM
plz help me in using a vb script in basic msi project
hi all
very new to installsheild 5 days since i've been using the demo version installshield pro 2009
can any one help me with the following queries
i created a basic msi project and here now i want to call a vbscript which is installed as a part of the project
this vb script echoes "key found " if a specified key is present in registry and "key not found" if it doesn't exists.
this script works fine when executed independently.
in installshield
i selected custom action option for calling this vb script and selected the following
return processing : synchronous (Ignores exit code)
in script execution : deferred execution
install ui sequence : absent
install exec sequence : after insall files
the project executed with no errors
no msg box pops up indicatin wheter key is found or not..
is this a silent install wat has happend...if yes...how to get these msg boxes goin...
can anyone plz help me in using a vb script in basic msi project...thanks a ton in advance
very new to installsheild 5 days since i've been using the demo version installshield pro 2009
can any one help me with the following queries
i created a basic msi project and here now i want to call a vbscript which is installed as a part of the project
this vb script echoes "key found " if a specified key is present in registry and "key not found" if it doesn't exists.
this script works fine when executed independently.
in installshield
i selected custom action option for calling this vb script and selected the following
return processing : synchronous (Ignores exit code)
in script execution : deferred execution
install ui sequence : absent
install exec sequence : after insall files
the project executed with no errors
no msg box pops up indicatin wheter key is found or not..
is this a silent install wat has happend...if yes...how to get these msg boxes goin...
can anyone plz help me in using a vb script in basic msi project...thanks a ton in advance
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 24, 2008
11:58 AM
I'm not sure I understand your question. If it is how to get a message box to display in silent mode then the answer is, you can't. Silent mode is just that, silent. You will either need to use the Session.Message method or check the UILevel before displaying the message.
I personally prefer the session.message method, becuase it will not only display a message during a full user interface installation, but it will also write out to the log file if the user chose to turn on logging. Below is some sample code for displaying your message using this method:
I personally prefer the session.message method, becuase it will not only display a message during a full user interface installation, but it will also write out to the log file if the user chose to turn on logging. Below is some sample code for displaying your message using this method:
Set hMsgRecord = Installer.CreateRecord(0)
hMsgRecord.StringData(0) = "Insert message here"
Session.Message &H03000000, hMsgRecord
Set hMsgRecord = nothing
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 25, 2008
03:20 AM
hey thanks mate ...u actually got it right..thanks a lot
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 25, 2008
09:09 AM
Thanks. For more message types do a search on "Message Method" in the InstallShield help.