This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 19, 2008
10:24 AM
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
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
(2) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2008
09:42 AM
The MSI property [SourceDir] often refers to the DISK1 folder, but that can depend on your build settings.