View Full Version : StreamFileFromBinary Deferred problem
gberesta
01-22-2002, 09:35 AM
Hi,
I'm using ISWI 2.03 winth (WI 2.00.26) and trying to use StreamFileFromBinary in deferred mode and it doesn't work. The reason I need it is when the customer on W2K presses Remove from ARP the setup is launched in silent mode (as opossed to Change and then Remove) so the DLL I need from StreamFileFromBinary is not there.
Is there a way to make StreamFileFromBinary work in Deferred mode?
Gil
PhilWilson
01-22-2002, 01:40 PM
Silent mode is not specifically related to deferred custom actions. The behavior you're seeing might simply be because you have your CA in the user interface sequence, so it doesn't run when the UI is suppressed in silent mode. Perhaps you just need your CA in the execute sequence.
gberesta
01-23-2002, 02:10 AM
Hi,
The StreamFileFromBinary failed to work in Execute Sequence in Deferred mode but did work in User Interface Sequence in Immediate mode. My original question relates to Deferred mode cause that obiously goes to Execute Sequence.
Did anyone tried and succeed in making the StreamFileFromBinary to work in Execute Sequence? I'm asking cause I need it during silent (Remove from ARP).
Gil
PhilWilson
01-23-2002, 11:23 AM
In what way did it not work in the Execute sequence in deferred mode? BTW, it's quite common for deferred CAs to fail because deferred CAs can't access your properties.
gberesta
01-23-2002, 11:30 AM
Hi,
StreamFileFromBinary is a script that takes a binary file stored in the msi and extract it to the destination place you specify (e.g. SUPPORTDIR) The function didn't work in a way it did not extract the file and in the log file I saw failed - return code 3.
Does anyone know of alternatives to make use of a DLL stored in the msi file during silent uninstall (Mainly 'Remove' from ARP)?
Gil
PhilWilson
01-23-2002, 12:34 PM
Precisely! Many properties aren't available during deferred mode, and I would not be surprised to find the SUPPORTDIR is not available in deferred mode. That's exactly the point I'm making.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.