Discussion:
Problem distributing an installshield application using setup.iss
(too old to reply)
Jared Brown
2005-09-16 20:31:12 UTC
Permalink
I am trying to deploy Adobe Illustrator CS using SMS. I ran the install on a
single machine with the -r switch, and copied the resulting setup.iss file to
the application source directory from which I then created an SMS package.
As a test I went to another computer and mapped a drive to the source
directory and ran setup -s, Illustrator installed without any additional
interaction with the machine. Within the illustrator package I created a
program to deploy Illustrator, on the command line I have tried setup -s,
setup -s -SMS, setup -s -f1"%inst%setup.iss" -SMS. I then tried telling SMS
to map drive Q and tried setup -s -f1"q:\bla000d2\setup.iss" -SMS, and
finally I tried writing a batch file

q:
cd\bla000d2
setup -s

and calling the batch file from SMS. In every case setup seems to start and
then exit without doing anything to the machine. In some cases it has
written a file called setupexe.log which contains the following

[InstallShield Silent]
Version=2k2
File=Log File
[ResponseResult]
ResultCode=-5008

A search on result code 5008 returns results which seem to indicate that the
setup.iss file is not being found.

If any of you have solved this problem I would appreciate a tip or two, I
think I am really close but close as you know does not count.


Thanks

Jared
Andrew King Pit,Pa
2005-11-04 21:53:03 UTC
Permalink
I assume you've worked past this already. I've just started with SMS
deployments and ran into a simialr problem. I worked around it by starting
the install from a vbscript using the following code:

set objShell = CreateObject("Wscript.Shell)
sRootDir = objShell.CurrentDirectory
sCmd = sRootDir & \setup.exe -s -f1" & sRootDir & \setup.iss"
objShell.Run ("%comspec% /c " & sCmd),12

You would save the code with a .vbs extension and place in the same
directory where setup.exe and setup.iss exist, then call the vbs from SMS.
The code will grab the current directory (UNC) from the location SMS started
the VBS script, the craft a UNC path'd command line to setup.exe including
setup.iss, then run that command from a hidden command shell. It has been
working well for me for a number of installs.
--
Andy King
Enterprise Software Admin
Pittsburgh, Pa
Post by Jared Brown
I am trying to deploy Adobe Illustrator CS using SMS. I ran the install on a
single machine with the -r switch, and copied the resulting setup.iss file to
the application source directory from which I then created an SMS package.
As a test I went to another computer and mapped a drive to the source
directory and ran setup -s, Illustrator installed without any additional
interaction with the machine. Within the illustrator package I created a
program to deploy Illustrator, on the command line I have tried setup -s,
setup -s -SMS, setup -s -f1"%inst%setup.iss" -SMS. I then tried telling SMS
to map drive Q and tried setup -s -f1"q:\bla000d2\setup.iss" -SMS, and
finally I tried writing a batch file
cd\bla000d2
setup -s
and calling the batch file from SMS. In every case setup seems to start and
then exit without doing anything to the machine. In some cases it has
written a file called setupexe.log which contains the following
[InstallShield Silent]
Version=2k2
File=Log File
[ResponseResult]
ResultCode=-5008
A search on result code 5008 returns results which seem to indicate that the
setup.iss file is not being found.
If any of you have solved this problem I would appreciate a tip or two, I
think I am really close but close as you know does not count.
Thanks
Jared
Loading...