Incroyable HULK Posted December 15, 2004 Posted December 15, 2004 I have an installation of PowerDVD unattended with the standard setup.iss file.Sometimes, my Program File Folder is on the D:\ drive and sometimes on the C:\ drive. Can I put a variable %Program Files% in front of the path instead of an absolute path?[{6811CAA0-BF12-11D4-9EA1-0050BAE317E1}-SdAskDestPath-0]szDir=D:\Program Files\CyberLink\PowerDVDResult=1
Alanoll Posted December 15, 2004 Posted December 15, 2004 I'm not sure of this, as I've had no need in trying....ut what you could do is indeed replace it with %ProgramFiles%, but just to test, start setup with -f1"setup.iss" but without the -s. It SHOULD read in the iss file and fill in the values as presets.
SlimShady Posted December 15, 2004 Posted December 15, 2004 What I do with registry key(s) like that, is I REG ADD them with a batch file.Sorry. I misinterpreted the question. I thought it was a registry file.
Incroyable HULK Posted December 15, 2004 Author Posted December 15, 2004 @Alanollsorry, the -f1"setup.iss" option is not filling up the values... Anyway, I have to run a simulation to test among other stuff. I will report in a few minutes.Maybe it is possible to OMIT this value in the setup.iss so it will look for the %ProgramFiles% variable in the windows registry?
vcBlackBox Posted December 15, 2004 Posted December 15, 2004 Note: The %ProgramFiles% variable inside setup.iss will not get translated.No problem, simply delete these three lines from setup.iss[{6811CAA0-BF12-11D4-9EA1-0050BAE317E1}-SdAskDestPath-0]szDir=C:\Program Files\CyberLink\PowerDVDResult=1Now it will default install to whatever your current %ProgramFiles% is set to.
Incroyable HULK Posted December 15, 2004 Author Posted December 15, 2004 @vcBlackBoxSorry to report this is not working either I think I will move to another strategy since I only require the PowerDVD codec to enable DVD viewing in Windows Media Player...So I'll just drop the Codec CLVSD.ax into system32 and then use a RegTweak to enable the DVD playback in Media Player and Register the codec
vcBlackBox Posted December 16, 2004 Posted December 16, 2004 @Incroyable HULKI'm sorry, maybe I didn't quite understand what you wanted to do. My method assumes that you are trying to install PowerDVD on the same drive as where the OS is installed. So for example, if you are installing Windows on E drive, PowerDVD will automatically default install to E:\Program Files\CyberLink\PowerDVD By removing the reference in the setup.iss, the path is not hardcoded for any particular drive letter. You can also try adding this line "silent=1" to custom.ini (without the quotes) to see if that helps. Otherwise good luck to you on your codec strategy.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now