Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008
    Posts
    13

    How to specify drive for Folders

    I am creating a MSI Factory installer for an app for which the app can go to one drive and the data to another. The user doing the install chooses which drive for each via a VolumeSelectCombo control on an MSIF Dialog.

    I've used the Folders option to specify which folders particular Components get installed into. Some of those components go to the app drive, others go to the data drive. Sometimes those are the same drive.

    My question is, how do I specify the correct drive for a MSIF Folder structure to get written to?

  2. #2
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    Here are the instructions:

    1) Go to Project -> Settings -> Properties and add a new one. Name it MSIFACT_INSTALLDIR2, make the value INSTALLDIR2
    2) Now go to Project -> Folders. Add your secondary set of folders. For example SourceDir -> Widgets. Make the folder ID INSTALLDIR2. Make this your root folder and add any subfolders that are needed.
    3) Now point the files that go to this drive to the appropriate folder.
    4) Now in your 'Combo drive select' make it an indirect property mapped to MSIFACT_INSTALLDIR2.

    This same concept would be the same for your INSTALLDIR for your other set of files.

Similar Threads

  1. IF else statement
    By synistics in forum AutoPlay Media Studio 6.0
    Replies: 3
    Last Post: 04-21-2007, 12:33 PM
  2. Need help on solving Drive Action problem!
    By mdxafx in forum AutoPlay Media Studio 6.0
    Replies: 7
    Last Post: 01-13-2007, 06:26 PM
  3. Intranet shared drive access
    By mafranks in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 10-15-2004, 04:17 AM
  4. Determining the Drive Letter of the Primary Hard Drive
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-03-2003, 09:43 AM

Posting Permissions

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