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
- :
- StreamFileFromBinary not work for execute sequence
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 19, 2007
09:42 PM
StreamFileFromBinary not work for execute sequence
I added "myfile" file with same key name to binary table for extract during setup
Following code:
str = "myfile"
nResult = StreamFileFromBinary( ISMSI_HANDLE, str, SUPPORTDIR ^ str );
for IS2008 return 0 to nResult when using in User Interface sequence and return -1 when using in Execute sequence.
For IS11.5 and 12.0 this code work correct.
By this reason my IS11.5 code work incorrect in IS2008
Following code:
str = "myfile"
nResult = StreamFileFromBinary( ISMSI_HANDLE, str, SUPPORTDIR ^ str );
for IS2008 return 0 to nResult when using in User Interface sequence and return -1 when using in Execute sequence.
For IS11.5 and 12.0 this code work correct.
By this reason my IS11.5 code work incorrect in IS2008
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 23, 2007
11:24 AM
Please see the migration notes. In particular the usage of SUPPORTDIR (the InstallScript variable) from custom actions has changed, and instead you will need to use MsiGetProperty to retrieve the MSI property of the same name.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)