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
- :
- Merge Module Sequece not working
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 25, 2008
02:10 AM
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?? 🙂
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?? 🙂
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 25, 2008
11:25 AM
What is the action type? Is it set for deferred execution? Does an MSI log file tell you anything more?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 28, 2008
04:59 AM
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
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 28, 2008
07:52 AM
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.)
(That return value 6 is ERROR_INVALID_HANDLE.)
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)