Sign in to follow this  
Followers 0
gosh

Setup.iss Question

15 posts in this topic

I've had this question for awhile and never found an answer...

To make a silent install of a program that uses instalshield, you make a setup.iss file that has all the answers in it. The problem is the install location is static (ie c:\program files\appname). I like to install my cd on different partitions. If the app only installs on the c drive, this will cause problems. I've tried editing the setup.iss file and putting %programfiles% for the install location, but that never works. Anyone find a way around this?

-gosh

0

Share this post


Link to post
Share on other sites

I have not had trouble with this in the past. Just copy the ISS file to the same location as the EXE and launch the EXE with a -s switch. What program are you having these troubles with?

0

Share this post


Link to post
Share on other sites

I've had this program with any installshield program, such as Hexworks 4.00 (bpsoft.com). It only installs if i install on the C drive.

-gosh

0

Share this post


Link to post
Share on other sites
I have not had trouble with this in the past.  Just copy the ISS file to the same location as the EXE and launch the EXE with a -s switch.  What program are you having these troubles with?

gosh meant, he wants to use a variable instead of the drive (c:\) so he can use this *.iss file for several installs on different partitions/drives..

that does not work <- that´s the problem..

(just to clear out)

0

Share this post


Link to post
Share on other sites

This is my first post here, trying to setup an unnatended install here. My only concern is two applications that regularly want me to shutdown after installing. Sygate Personal Firewall Pro and The ATI control Panel. When I run the setup with the -R switch the guide says to go to the windows directory and get the setup.iss fi9le from there. however I cannot get it. It's not there. Could it be elswhere? Or... Can I just edit the Sample .iss file that is extracted with the package? Tell it not to reboot after runnign the install? Thanks guys I'd like to get this up and running so I can install while I'm at work tommorow.

EDIT: The ATI control Panel .iss looks like this

Company=ATI Technologies

Lang=0009

[{0BEDBD4E-2D34-47B5-9973-57E62B29307C}-SdFinishReboot-0]

Result=01

BootOption=03

And Sygate looks like this

Ooops, umm no .iss file included when I extract the files. So how do I get one?

0

Share this post


Link to post
Share on other sites

Gaborn, check out THIS LINK for the answer to your question, follow it step by step...

I too install ATI control panel and it works for me..

0

Share this post


Link to post
Share on other sites

I did that but he says this .. . .

After installation has completed, go to your C:\Windows (or C:\WINNT) directory and take out the setup.iss file. Put this setup.iss file in the same directory where your application setup files reside.

I cannot find that setup.iss it's not there!

0

Share this post


Link to post
Share on other sites

:D Ok, can't understand that, what version of Control Panel are you installing, 3.8 ???

The only thing I can think of is you are not running it with the -R switch correctly as mine works fine..

I hope I don't get 'barked' at for posting this, I know how touchy some ppl can be about off topic posts...

if I upset anyone, I'm sorry.. :rolleyes:

The info you need is...

[InstallShield Silent]
Version=v6.00.000
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{0BEDBD4E-2D34-47B5-9973-57E62B29307C}-DlgOrder]
Dlg0={0BEDBD4E-2D34-47B5-9973-57E62B29307C}-SdWelcome-0
Count=4
Dlg1={0BEDBD4E-2D34-47B5-9973-57E62B29307C}-SdLicense-0
Dlg2={0BEDBD4E-2D34-47B5-9973-57E62B29307C}-SdAskDestPath-0
Dlg3={0BEDBD4E-2D34-47B5-9973-57E62B29307C}-SdFinishReboot-0
[{0BEDBD4E-2D34-47B5-9973-57E62B29307C}-SdWelcome-0]
Result=1
[{0BEDBD4E-2D34-47B5-9973-57E62B29307C}-SdLicense-0]
Result=1
[{0BEDBD4E-2D34-47B5-9973-57E62B29307C}-SdAskDestPath-0]
szDir=C:\Program Files\ATI Technologies\ATI Control Panel
Result=1
[Application]
Name=ATI Control Panel
Version=3.00.000
Company=ATI Technologies Inc.
Lang=0009
[{0BEDBD4E-2D34-47B5-9973-57E62B29307C}-SdFinishReboot-0]
Result=1
BootOption=0

This is the contents of mine which I use to install 3.8

Make a new text document called setup.txt and paste the above code in to it.

Save and Close it, then rename the file setup.iss.

Place this in the install folder as intructed in that URL I mentioned...

Hope that helps.. :)

0

Share this post


Link to post
Share on other sites

ok this worked for the catylyst control panel and java but when I run the sygate personal firewall setup with the -r switch the setup starts gives me a setup.iss file but it then stops. this is the setup.iss file.

[installShield Silent]

Version=v6.00.000

File=Response File

[File Transfer]

OverwrittenReadOnly=NoToAll

[Application]

Name=Sygate Personal Firewall 5.0

Version=5.00

Company=Sygate Technologies, Inc.

Lang=0009

[{5D422994-9E10-11D4-AEB1-00D0B7237D97}-DlgOrder]

Count=0

The install doesn't complete. Any ideas? Thanks for the help so far guys I really appreciate it!

0

Share this post


Link to post
Share on other sites
I have not had trouble with this in the past.  Just copy the ISS file to the same location as the EXE and launch the EXE with a -s switch.  What program are you having these troubles with?

gosh meant, he wants to use a variable instead of the drive (c:\) so he can use this *.iss file for several installs on different partitions/drives..

that does not work <- that´s the problem..

(just to clear out)

same problem here... :)

no idea?

0

Share this post


Link to post
Share on other sites

Well, you could use an "IF" statement in your batch file.

Example for PowerDVD 5

IF %systemdrive%=C
ECHO.
ECHO Installing Cyberlink PowerDVD 5.0
ECHO Please wait...
start /wait %systemdrive%\install\Applications\PowerDVD5\Setup.exe -s %systemdrive%\install\Applications\PowerDVD5\setup.iss

IF %systemdrive%=D
ECHO.
ECHO Installing Cyberlink PowerDVD 5.0
ECHO Please wait...
start /wait %systemdrive%\install\Applications\PowerDVD5\Setup.exe -s %systemdrive%\install\Applications\PowerDVD5\setup2.iss

Then, in the setup.iss file for the C:\ it says:

szDir=C:\Program Files\CyberLink\PowerDVD

Make a copy of setup.iss, call it setup2.iss, and change:

szDir=C:\Program Files\CyberLink\PowerDVD

to

szDir=D:\Program Files\CyberLink\PowerDVD

That's just a possibility, I don't know if it would truly work, but I can't see why not.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.