MSFN Forum: Installing apps on different drive - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Installing apps on different drive How to Rate Topic: -----

#1 User is offline   czaja74 

  • Member
  • PipPip
  • Group: Members
  • Posts: 109
  • Joined: 28-August 02

  Posted 25 December 2003 - 03:09 PM

I keep my all apps on the D drive. Now I'm wondering how to make silent insall to paticular directory that is different from system directory.


#2 User is offline   czaja74 

  • Member
  • PipPip
  • Group: Members
  • Posts: 109
  • Joined: 28-August 02

Posted 25 December 2003 - 07:32 PM

Errrrr ? Nobody have done it before? :)

#3 User is offline   Bachus 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 408
  • Joined: 25-July 03

Posted 25 December 2003 - 08:02 PM

I think the easiest way would be to use the lines:
   ProgramFilesDir=\Programs
    CommonProgramFilesDir=\Programs\Common


in your winnt.sif file. The first slash indicates that the directory is on the systemdrive and the rest is just the directory you want to be "program files". I detest the stupidly long "Program Files" directory so I shortened it. You could do something like
   ProgramFilesDir=D:\Programs
    CommonProgramFilesDir=D:\Programs\Common

to set the default Program Files directory to be D:\Programs for example, and all programs should default to that directory (like they already default to the C:\Program Files\ directory). Any answer files you've created (such as for Installshield installers) will need to be edited to reflect the path you choose to install to instead of the what the default was when you first made the answer file. Oh yeah, this goes in the [Unattended] part of winnt.sif.

One last thing, I haven't tested it exactly in the manner you'd be using it, but I see no reason why it shouldn't work.

#4 User is offline   czaja74 

  • Member
  • PipPip
  • Group: Members
  • Posts: 109
  • Joined: 28-August 02

Posted 25 December 2003 - 08:19 PM

That looks interesting. What about the *.bat files. I know that some paskages record installation process and all what have to be done is just use created setup.iss fileor as in case of Office can use Custom Installation Editor. That's simple. But for example:
I would like to install WinRar on the D drive using this file:
ECHO.
ECHO Installing WinRAR 3.20
ECHO Please wait...
start /wait F:\Installations\WinRar\WinRAR.3.20.exe /s ?.........?

I think that there must be something in place of ?.........? . I have looked on forum but I didn't see if anyone got this right and quite few were asking for it.

#5 User is offline   Bastian_W 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 15-December 03

Posted 30 December 2003 - 03:46 PM

Perhaps this can help:
http://www.MSFN.org/...showtopic=10760

but I don´t usw winrar... so I can´t check...

#6 User is offline   SCSI6 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 31-December 03

  Posted 02 January 2004 - 07:29 PM

czaja> I also wanted to do this, so after 2 hours digging though my registry i found the 2 keys to change to make my default install drives/folders; D:\Program Files\ and D:\Program Files\Common Files\

I have attached the registry file. What i would do is set the registry file to run with you batch setup file for your programs just have it set before your batch file.

Attached File(s)



#7 User is offline   shawn26 

  • Member
  • PipPip
  • Group: Members
  • Posts: 146
  • Joined: 03-January 04

Posted 04 January 2004 - 03:54 AM

Bachus, on Dec 25 2003, 08:02 PM, said:

I think the easiest way would be to use the lines:
   ProgramFilesDir=\Programs
    CommonProgramFilesDir=\Programs\Common


in your winnt.sif file.  The first slash indicates that the directory is on the systemdrive and the rest is just the directory you want to be "program files".  I detest the stupidly long "Program Files" directory so I shortened it.  You could do something like
   ProgramFilesDir=D:\Programs
    CommonProgramFilesDir=D:\Programs\Common

to set the default Program Files directory to be D:\Programs for example, and all programs should default to that directory (like they already default to the C:\Program Files\ directory).  Any answer files you've created (such as for Installshield installers) will need to be edited to reflect the path you choose to install to instead of the what the default was when you first made the answer file.  Oh yeah, this goes in the [Unattended] part of winnt.sif.

Hello everybody!
Is that right?
These lines must be entered in [Unattended] part of winnt.sif

ProgramFilesDir=D:\Programs
CommonProgramFilesDir=D:\Programs\Common

or only one of these lines?

Many ThX!

Shawn26

P.S. Whats the different between "ProgrammFilesDir" and "CommonProgramFilesDir"?

#8 User is offline   shawn26 

  • Member
  • PipPip
  • Group: Members
  • Posts: 146
  • Joined: 03-January 04

Posted 04 January 2004 - 04:38 AM

Another question!
Is this the right way to install AdAware in a different path as normal?

Quote

ECHO Installing Lavasoft Ad-Aware 6 Plus
ECHO Please wait...
start /wait %systemdrive%\install\Applications\AdAware\aaw6plus.exe /s /d="C:\Anwender - Software\"


/d="C:\Anwender - Software\" this is the new path i want to install AdAware! Is that the right syntax for the switch "/d"?

Many ThX!

Shawn26

#9 User is offline   Aaron 

  • The MSFN Banana
  • Group: Patrons
  • Posts: 5,767
  • Joined: 17-August 01

Posted 04 January 2004 - 08:35 PM

shawn26, you can test it yourself by going to Command Prompt, then browse to the directory containing aaw6plus.exe, and type out:

aaw6plus.exe /s /d="C:\Anwender - Software\"

Once finished, check C:\Anwender - Software\

#10 User is offline   shawn26 

  • Member
  • PipPip
  • Group: Members
  • Posts: 146
  • Joined: 03-January 04

Posted 08 January 2004 - 03:00 AM

I doesn´t work with the syntax

D="C:\Anwender - Software" or
D=C:\Anwender - Software

AdAware 6.0 is a WISE Installation File and i found in the forum this little help...
WISE Installation

But when i tried
C:\XPCD\$OEM$\$1\install\Applications\AdAware\aaw6plus.exe /c C:\setup.wse
to create an executable file from wise script it failed.

C:\XPCD\$OEM$\$1\install\Applications\AdAware\=(Source-Path)

I cant find the setup.wse?

Can anybody help?

Many ThX!

Shawn26

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy