cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
galensom
Level 3

Use of SUPPORTDIR

My install creates a directory structure like

C:\Company
Product
fold1
fold2
fold3

In fold1-3 I add text files that says this text file can be removed.

The above directory structure appears in Disk1 (without the C:\ of course).

I have a Setup action just before the final "Finished" screen which runs a program named AutoCopy.exe. This, of course, is installed on Disk1 and referenced by [SUPPORTDIR]

Now the question. After Disk1 is created and before it is copied to a CD for install purposes, I plan on adding a whole series of files to folders fold1-3.

Can the AutoCopy program access these files by referencing
SUPPORTDIR\Company\Product\fold1 etc?

And if so, can the AutoCopy program just refer to App.Path since it's running in the SUPPORTDIR?

Galen
Labels (1)
0 Kudos
(2) Replies
Not applicable

Files in DISK1 does not get moved to the target directory as default. I wasn't able to access DISK1 folder using VBscript. If you know how to access DISK1, I would write VBscript to copy all the files in DISK1 to INSTALLDIR using "Custom Actions".

I was only successful to access INSTALLDIR, which is target directory, but no luck with DISK1. I have been having this problem for a long time. If you know, please help me accessing DISK1 files.
0 Kudos
MichaelU
Level 12 Flexeran
Level 12 Flexeran

The MSI property [SourceDir] often refers to the DISK1 folder, but that can depend on your build settings.
0 Kudos