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: How to link to the installation media
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Sep 29, 2017
08:21 AM
How to link to the installation media
I have InstallScript MSI Project. In SupportFiles/Billboards I've added some directories to Advanced Files/Disk1. How can I link to this folders in my InstallScripts? For example I need to make
lstDirs = MakeDirList('My Folder'^sDir);
What must I put instead of 'My Folder'?
lstDirs = MakeDirList('My Folder'^sDir);
What must I put instead of 'My Folder'?
(4) Replies
‎Oct 02, 2017
10:40 AM
ch_eng,
These files are not in SupportFiles, but in AdvancedFiles, so they wouldn't copy to the "SUPPORTDIR".
These files are not in SupportFiles, but in AdvancedFiles, so they wouldn't copy to the "SUPPORTDIR".
‎Oct 02, 2017
11:53 AM
kozlov_vital,
Apologies. In that case, it would be something like the following:
NUMBER nLength;
STRING szExePath;
nLength = MAX_PATH + 1;
MsiGetProperty( ISMSI_HANDLE, "SETUPEXEDIR", szExePath, nLength );
lstDirs = MakeDirList( szExePath ^ sDir );
sources:
http://helpnet.installshield.com/installshield21helplib/helplibrary/SETUPEXEDIR.htm
https://web.archive.org/web/20070417154102/http://www.installshield.com/news/newsletter/0206-articles/SetupExeDir.asp
HTH
‎Oct 03, 2017
04:06 AM
ch_eng,
Thank you - that what I missed.
Thank you - that what I missed.