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.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Copy files into installer directory
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
‎Jul 07, 2010
09:13 AM
Copy files into installer directory
Hey,
I'm quite new to InstallShield, so the solution to my question might be very easy.
I want to include a directory with some additional data into my installer. These directories will be filled by our customers before they distribute the installer to their clients. The installer should look something like this:
DISK1
-- + Custom
------ + EmptyDirectory1
------ + Directory 2
---------- Data.txt
-- feature1.cab
-- feature2.cab
-- Setup.exe
I tried with a feature for the custom subfolder, that contains a component with Dynamic File Linking as content, but this approach has two problems:
- Empty directories are ignored / not created
- The software creates additional subfolders containing the Custom folder. The additional folders are depending on where the original Custom folder lies on the drive.
This step of copying this custom folder to the installer was performed manually up to now. But since we would like to have an automated generation of the installer, we woud have to include this step to the buld process.
Any ideas? Thanks in advance.
I'm quite new to InstallShield, so the solution to my question might be very easy.
I want to include a directory with some additional data into my installer. These directories will be filled by our customers before they distribute the installer to their clients. The installer should look something like this:
DISK1
-- + Custom
------ + EmptyDirectory1
------ + Directory 2
---------- Data.txt
-- feature1.cab
-- feature2.cab
-- Setup.exe
I tried with a feature for the custom subfolder, that contains a component with Dynamic File Linking as content, but this approach has two problems:
- Empty directories are ignored / not created
- The software creates additional subfolders containing the Custom folder. The additional folders are depending on where the original Custom folder lies on the drive.
This step of copying this custom folder to the installer was performed manually up to now. But since we would like to have an automated generation of the installer, we woud have to include this step to the buld process.
Any ideas? Thanks in advance.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2010
10:25 AM
I think the Behavior and Logic - Support Files - Advanced Files - Disk1 view may meet your needs. You can add a folder structure there, and it will be copied directly to the Disk1 folder at build time.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2010
11:05 AM
How about the use of VBS to handle the creation of empty folders?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2010
02:36 AM
Thanks to both of you. The solution from Ajay works very well (a 2500 pages manual seems too big to find easy answers like this. 🙂 )
I have another question:
What would be the best approach to have the version information of a single DLL as version number for the whole installer?
Cheers,
Marcel
I have another question:
What would be the best approach to have the version information of a single DLL as version number for the whole installer?
Cheers,
Marcel