Jump to content

Recommended Posts

Posted

Hi , i've got a question about an install (i'm very new to this stuff) :

I want to run setup from runonceex but i want it to install in the default program files-folder.

with nlite you can specify a default program-files folder and i want that to be on - let's say - my D: (and C: would be my system drive)

i found this on the winrar site :

To change install directory:

----------------------------

If you want to install WinRAR for example into C:AppsWinRAR and

not into C:Program FilesWinRAR.

Using WinRAR 3.10 beta 1 - beta 4, you may add the following

strings to the end of settings.reg:

[HKEY_CURRENT_USERSoftwareWinRAR SFX]"C%%Program Files%WinRAR"="C:AppsWinRAR"

and import settings.reg before running 'wrar310.exe /s'

regedit /s settings.reg.

but i want to keep it "universal" and not point winrar to a specific drive (because that may change/not be the same for everyone).

so is it possible to let winrar install in the "default prog.files folder" (whatever drive that might be on) (configured with nlite).

Is this possible with other programs?

like : adobe reader,office ,nero

thanks a lot!


Posted (edited)

i think winrar's sfx installer (or any professional installer) isnt hardcoded to "c:\program files" rather it looks in the registry for the path to "program files" so if you change it with nlite to "c:\pf" or "d:\pf" it will not matter. anyways, just try it out on a virtual pc

Edited by coconut

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...