Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008
    Posts
    8

    Troubles setting the INSTALLDIR to SourceDir

    MSI Factory 2:
    I'm having troubles setting the INSTALLDIR to the SourceDir. All I want to do is to set the INSTALLDIR to the directory where the .MSI (or .EXE) is run from. Anyone who can help. Thank you.

  2. #2
    Join Date
    Apr 2008
    Posts
    8

    Smile

    Found the answer from Brent at Indigo Rose...

    - Add a Set Folder custom action that sets INSTALLDIR to "C:\My Folder" (no quotes)
    - In the attributes tab, set the scheduling to be Immediate - First Sequence
    - Add two timing entries - one for InstallUISequence and one for InstallExecuteSequence - make them both happen After "CostFinalize" - also, use the condition "NOT Installed"

    So far it seems to be working.

  3. #3
    Join Date
    Apr 2008
    Posts
    8

    Huh? Now the problem is with the Bootstrap, .EXE

    Well, it is not fixed. If I run my .MSI, the INSTALLDIR is set to where the .MSI is run from. But if I run my .EXE (need to bootstrap .NET), then the INSTALLDIR gets set to: C:\Users\Mike\AppData\Roaming\Downloaded Installations\{E86A2DC7-347D-409C-B3A1-BECD97B91889}\

    So this must be where the .EXE extracts the .MSI to. Is there a way to transfer the SourceDir to the .MSI or maybe have it remeber where the .EXE is run from.

Similar Threads

  1. maintain slider volume setting
    By melchersad in forum AutoPlay Media Studio 7.5
    Replies: 7
    Last Post: 02-16-2008, 06:47 PM
  2. Setting my Application to Expire After Thirty Days
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-01-2003, 02:45 PM
  3. INFO: Setting Environment Variables
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 12:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts