PDA

View Full Version : Use of SUPPORTDIR



galensom
02-19-2008, 11:24 AM
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

jaylee
04-10-2008, 02:13 PM
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.

MichaelU
04-11-2008, 09:42 AM
The MSI property [SourceDir] often refers to the DISK1 folder, but that can depend on your build settings.