cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Jan_Eggers
Level 4

Merge Module Sequece not working

Hi

i´ve made a merge module with some files and one executable.
When the files are copied i need to run the executable.
Threrefore i defined a custom action dostuff.

this action should be executed after move files so i added this two entries to the ModuleInstallExecutionSequence

Action .........sequence .......Baseaction.......After
dostuff..............................MoveFiles .......1
MoveFiles......3500

So for unknown reason the setup runs the custom action before Movefiles and failes.

Help?? 🙂
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

What is the action type? Is it set for deferred execution? Does an MSI log file tell you anything more?
0 Kudos
Jan_Eggers
Level 4

thanks.

i didnt know the deferred execution option with it the custom action is executed in the correct order.

unfortunally this lead me to another strange problem: now (it works with direct execution) all paths are empty.

my custom action is an installscript action.
In this Action i use the TempFolder Property to get the location of some files.
when i use MsiGetTargetPath to get the value of TempFolder it returns error 6
0 Kudos
RobertDickau
Flexera Alumni

Right, getting a property value in code---InstallScript, C, VBScript, etc.---during deferred execution requires going through CustomActionData; searching the help and these forums will turn up some examples.

(That return value 6 is ERROR_INVALID_HANDLE.)
0 Kudos