Indigo Rose Software

Go Back   Indigo Rose Software Forums > MSI Factory 2.0 > MSI Factory 2.0 FAQ

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2007
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
How can I change the sequencing of a standard MSI action?

Here is an answer to that question that is specific to the WriteRegistryValues standard action, but can be applied to any standard action:

There is no way to schedule just one registry action to happen at a specific time. All that you can do is change the sequence of the standard "WriteRegistryValues" action in the InstallExecuteSequence. You can see by opening your MSI file in Orca that by default it is scheduled at sequence 5000. If you want to change that sequence, you can either:

1) Change it by hand using Orca after the MSI is generated.

or

2) Do the following hack...

- Make a text file on your system called "Sequence.wxs"
- Set the contents of this file to be:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Fragment></Fragment>
</Wix>
- Save the file.
- Now in Setup Factory, select Build > Settings from the menu. Go to the Fragments tab.
- Add the Sequence.wxs file on your system to the list of fragment files.
- In the "Main WXS File Insertions" section, add a new Fragment Insertion item with the following settings:

Insertion type: Last Child
Target search string: //InstallExecuteSequence
Text to insert: <WriteRegistryValues Sequence="3600"/>

In the above "3600" is the new sequence number. You can change that to whatever you like.

- Now build and the MSI will have that standard action at the sequence you specified.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TrueUpdate 2.0 Update (v2.0.6.0) Released Brett TrueUpdate 2.0 0 10-31-2006 02:10 PM
what action do yo use to find the installsource? tricky1979 AutoPlay Media Studio 5.0 7 07-22-2006 02:35 PM
What's new in AMS 5.0? Ted AutoPlay Media Studio 5.0 0 09-22-2003 04:56 PM
INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0 Support AutoPlay Media Studio 4.0 Examples 0 10-03-2002 09:38 AM
SUF6.0.0.2 -- installer hangs. jassing Setup Factory 6.0 4 12-20-2001 12:28 AM


All times are GMT -6. The time now is 06:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software