Help - Search - Members - Calendar
Full Version: Silent Install with a destination directory
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
totmachen
I maybe a bit strange, but I like to install my programs into specific folders. I like my Utils to go into the C:\Util folder, Multimedia into the C:\Multimedia folder and so on. I have been putting a lot of time on this and its driving me mad. Here is what I have so far:

Nullsoft uses the /D= switch which works well.
INNO's with the /loadinf switch work well.
MSI in this format work: installer.msi INSTALLDIR=C:\path\ /QB

And to my trouble spots:

When I try Installshield and just go through manually, you can choose what directory to install to. When you try to create the iss file with the -r switch, the directory screen is skipped. This keeps happening on WinDVD 5. I've tried going into the iss file and added a section called SdAskDestPath, but that does nothing.

When I try WISE installers, I just cant figure out what switches to use off this page. Just my ignorance I think.


Can anyone help me?
totmachen
Anyone?
TonicX
QUOTE
Nullsoft uses the /D= switch which works well.
INNO's with the /loadinf switch work well.
MSI in this format work: installer.msi INSTALLDIR=C:\path\ /QB

Thanks for the infos, never knew about this.
ahmedramzi
TonicX:

I think you should read the MSFN guide of making an unattended windows XP CD. you'll find a link at MSFN Homepage.
RayOK
I have a "solution" to that.. For me, my unatteded install either goes on partition C: or partition D: and for those preset InstallShield files its a problem. So what I do is create two setup.iss's, one called setupc.iss for C: and setupd.iss for D:, respectively.. And in my batch file I have two lines for one install, something like this:

CODE
ECHO  -Kerio Personal Firewall 2.1.5 to %systemdrive%\
IF "%systemdrive%"=="C:" START /WAIT %systemdrive%\install\KERIO\Setup.exe -s -f1"%systemdrive%\install\KERIO\setupc.iss"
IF "%systemdrive%"=="D:" START /WAIT %systemdrive%\install\KERIO\Setup.exe -s -f1"%systemdrive%\install\KERIO\setupd.iss"


I use this "if systemdrive" method for all InstallShield installs and any other where I can choose a folder.
Bastian_W
Hi RayOK

can you explain it a little bit more? wacko.gif I have a problem with remedy (www.remedy.com)
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.