cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
OrangeSky
Level 2

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
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

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.
0 Kudos