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
- :
- Open a text file before the end of installation
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
Dec 15, 2010
09:59 AM
Open a text file before the end of installation
Hi I'm using Installshield 2009 and I'm trying to open a text file at the end of installaton.
I followed the explations described inside this document:
http://kb.flexerasoftware.com/doc/Helpnet/installshield16helplib_sp1/FileOpenDialog-HowTo.htm
All works fine, my button opens the bowser, then I choose a text file (for open it), but when I click on "Open" the bowser is closed and that's it.
So how to open a text file (with notepad, with admin rights)?
All proposals are welcome.
Many thanks in advance.
Cheers.
Robin.
I followed the explations described inside this document:
http://kb.flexerasoftware.com/doc/Helpnet/installshield16helplib_sp1/FileOpenDialog-HowTo.htm
All works fine, my button opens the bowser, then I choose a text file (for open it), but when I click on "Open" the bowser is closed and that's it.
So how to open a text file (with notepad, with admin rights)?
All proposals are welcome.
Many thanks in advance.
Cheers.
Robin.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 27, 2010
09:34 PM
To launch a ReadMe file, follow these steps:
1. Navigate to the Dialogs view and open the Dialog Layout for the SetupCompleteSuccess dialog.
2. Set the TabStop of the Bitmap dialog control to True.
3. Give the ReadMe check box control a value in the Value property if there is no value.
4. Navigate to the Property Manager view.
5. Add the property called SHOWLAUNCHREADME with a value of -1.
6. Add the property called READMEFILETOLAUNCHATEND with a value of 1.
7. Open the Custom Actions view.
8. Add a Launch EXE custom action that launches a text viewer application and passes the ReadMe file to it.
9. Navigate to the Dialogs view and select the SetupCompleteSuccess dialog.
10. Insert this custom action as a new DoAction event on the Behavior of the SetupCompleteSuccess dialog for the OK button.
11. As a condition on the new Doaction add the LAUNCHREADME property and set it equal to the value specified for the check box in step 3.
12. (Optional) If you want the ReadMe check box selected by default, add the LAUNCHREADME property in the Property Manager. If you do not create this property, the dialog will display the check box, but will not have it selected by default.
Regards
Dheeraj
dheerajriets@gmail.com
1. Navigate to the Dialogs view and open the Dialog Layout for the SetupCompleteSuccess dialog.
2. Set the TabStop of the Bitmap dialog control to True.
3. Give the ReadMe check box control a value in the Value property if there is no value.
4. Navigate to the Property Manager view.
5. Add the property called SHOWLAUNCHREADME with a value of -1.
6. Add the property called READMEFILETOLAUNCHATEND with a value of 1.
7. Open the Custom Actions view.
8. Add a Launch EXE custom action that launches a text viewer application and passes the ReadMe file to it.
9. Navigate to the Dialogs view and select the SetupCompleteSuccess dialog.
10. Insert this custom action as a new DoAction event on the Behavior of the SetupCompleteSuccess dialog for the OK button.
11. As a condition on the new Doaction add the LAUNCHREADME property and set it equal to the value specified for the check box in step 3.
12. (Optional) If you want the ReadMe check box selected by default, add the LAUNCHREADME property in the Property Manager. If you do not create this property, the dialog will display the check box, but will not have it selected by default.
Regards
Dheeraj
dheerajriets@gmail.com