Jump to content

Recommended Posts

Posted

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\PowerDVD
Result=1


Posted

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.

Posted

@Alanoll

sorry, 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?

Posted

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\PowerDVD
Result=1

Now it will default install to whatever your current %ProgramFiles% is set to.

Posted

@vcBlackBox

Sorry 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

Posted

@Incroyable HULK

I'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.

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...