September 12, 200421 yr 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
September 13, 200421 yr 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
September 13, 200421 yr Author 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!
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now