Jump to content

Recommended Posts

Posted

Hi all,

I'm working through an unattended installation CD, and I'm having a bit of trouble specifying the installation directory for the program I want installed using RunOnceEx. I've seen that MSI installers can have a switch specified in the setup.ini file, but I'm stumped when it comes to Wise installers.

Can anyone help? I have all my program on my D: partition, and I really don't want to have to Partition-Magic my C: drive so I have enough room for these apps.

(I have tried Googling for this info but it's very hard to find)

Thanks in advance :)


Posted

Unless I'm mistaken, most installers default to the program files dir based on the registry key as defined in HKLM -> Software -> Microsoft -> Windows -> CurrentVersion. Have the registry be modified during the install to change the "ProgramFilesDir" key from "c:\Program Files" to "D:\Program Files" in the above mentioned registry section.

Worth a shot!

Paul

Posted

Genius! Thanks, I hadn't though of that. Sadly, as my D: drive is insanely well organised (d:\games, d:\art etc), I'll have to have a program-specific reg file merged before installing each app using RunOnceEx, then reset to c:\program files after each installation step.

Good for a challenge :)

Thanks again!

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
  • Recently Browsing   0 members

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