Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Setup.iss Question

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
14 replies to this topic

#1
gosh

gosh

    gosh 2.0

  • Patrons
  • 2,341 posts
  • Joined 03-October 03
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


How to remove advertisement from MSFN

#2
un4given1

un4given1

    Elaborate Dreamer

  • Member
  • PipPipPipPipPipPipPip
  • 1,768 posts
  • Joined 25-September 03
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?
What if everything around you, isn't quite as it seems...
What if all the world you used to know, is an elaborate dream...
And if you look at your reflection, Is that all you want to be?
What if you could look right through the cracks, Would you find yourself... find yourself afraid to see?

#3
gosh

gosh

    gosh 2.0

  • Patrons
  • 2,341 posts
  • Joined 03-October 03
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

#4
demlak

demlak

    Junior

  • Member
  • Pip
  • 77 posts
  • Joined 16-August 03

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)

#5
Numinous

Numinous

    Supercalafragalistic XPalidosious

  • Member
  • PipPipPipPip
  • 560 posts
  • Joined 30-September 03
yep :rolleyes:

http://documentation...m_variables.htm

For example, when InstallShield Developer is installed, it is placed by default in the following folder: PROGRAMFILES\InstallShield\InstallShield Developer

i suppose a big hint is theres no %'s and possibly case sensitive

:) let us know if it worked

#6
Gaborn

Gaborn
  • Member
  • 4 posts
  • Joined 17-October 03
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?

#7
Oh_Kay

Oh_Kay

    TechnoBabe

  • Member
  • Pip
  • 95 posts
  • Joined 03-October 03
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..

#8
Gaborn

Gaborn
  • Member
  • 4 posts
  • Joined 17-October 03
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!

#9
Oh_Kay

Oh_Kay

    TechnoBabe

  • Member
  • Pip
  • 95 posts
  • Joined 03-October 03
: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.. :)

#10
Gaborn

Gaborn
  • Member
  • 4 posts
  • Joined 17-October 03
Thats for the 3.8 CP right? Thanks a bunch!

#11
Gaborn

Gaborn
  • Member
  • 4 posts
  • Joined 17-October 03
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!

#12
webwilli

webwilli

    Junior

  • Member
  • Pip
  • 53 posts
  • Joined 24-October 03

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?

#13
flyakite

flyakite

    Member

  • Member
  • PipPip
  • 189 posts
  • Joined 17-September 03
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.

#14
webwilli

webwilli

    Junior

  • Member
  • Pip
  • 53 posts
  • Joined 24-October 03
very good idea

i will try it

#15
webwilli

webwilli

    Junior

  • Member
  • Pip
  • 53 posts
  • Joined 24-October 03
won´t work :)