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: Cannot access setup outside of installshield
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
‎Mar 18, 2009
03:56 PM
Cannot access setup outside of installshield
Hello, as this seems rather rudementary I'm sure I'm just overlooking the obviousl way to do this...please allow me to explain.
We distribute software for several different product via CD. Fo exapmle lets say we have products A, B, C , D, E, F, G While the end user may only be interested in D, all the others are on the ditribution CD as well.
Some of these need a third party program to be installed as well, some don't. This third party program is relatively large. It makes no sense to have it be on the CD in repeated places for the installs that require it.
The CD structure looks something like this
A ¬
---software ¬
-------------setup.exe
B ¬
---software ¬
-------------setup.exe
C ¬
---software ¬
-------------setup.exe
thirdParty ¬
...............L v1 ¬
.......................L setup.exe
I've tried running a custom action after file transfer like
..\..\thirdParty\v1\setup.exe
using both the File Exists and Browse options to no avail. Despite the fact that these are the correct relative locations I get an error 1606: Could not access network location when installing from the CD
So... if figure I must be barking up the wrong tree competely, can anybody please direct me in the proper manner to accomplish this?
Thank you
Mark
We distribute software for several different product via CD. Fo exapmle lets say we have products A, B, C , D, E, F, G While the end user may only be interested in D, all the others are on the ditribution CD as well.
Some of these need a third party program to be installed as well, some don't. This third party program is relatively large. It makes no sense to have it be on the CD in repeated places for the installs that require it.
The CD structure looks something like this
A ¬
---software ¬
-------------setup.exe
B ¬
---software ¬
-------------setup.exe
C ¬
---software ¬
-------------setup.exe
thirdParty ¬
...............L v1 ¬
.......................L setup.exe
I've tried running a custom action after file transfer like
..\..\thirdParty\v1\setup.exe
using both the File Exists and Browse options to no avail. Despite the fact that these are the correct relative locations I get an error 1606: Could not access network location when installing from the CD
So... if figure I must be barking up the wrong tree competely, can anybody please direct me in the proper manner to accomplish this?
Thank you
Mark
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 19, 2009
09:58 AM
You may need to use the SourceDir Windows Install property as follows:
[SourceDir]thirdParty\v1\setup.exe
[SourceDir]thirdParty\v1\setup.exe
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 19, 2009
11:24 AM
hidenori wrote:
You may need to the SourceDir Windows Install property as follows:
[SourceDir]thirdParty\v1\setup.exe
Thanks, sounded great, but then got the same error
error 1606: Could not access network location ..\..\thirdParty\v1\setup.exe
Any other thoughts?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 20, 2009
11:47 PM
It looks like that you need to write code to accomplish it. The following is an sample InstallScript code to get the location of your third party program:
function MyFunction(hMSI)
string svDisk, szPath;
begin
if (GetDisk (SRCDIR, svDisk) == 0) then
szPath = svDisk ^ "thirdParty\\v1\\setup.exe";
endif;
end;
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)