Page 1 of 1

Can we create an install package with audio off by default ?

Posted: Thu Jun 20, 2024 5:19 am
by AngelicInterface
Hi -
I have music with the screensaver
but when it is installed I would like to have this off by default.
(so that the person installing absolutely knows where to turn it on and off)
Is this possible?

Thanks ~ NDV

Re: Can we create an install package with audio off by default ?

Posted: Thu Jun 20, 2024 9:04 am
by gpb
Unfortunately there is no way in gPhotoShow Pro creation window to specify default options, however you could edit the innosetup script to set any option you wish for the screen saver, for example to disable sounds add the following line in the [Registry] section, just remember to replace YourScreenSaverName with actual screen saver file name

Root: "HKCU"; Subkey: "Software\gpsScreenSavers\YourScreenSaverName\Settings"; ValueType: dword; ValueName: "NoSounds"; ValueData: "1"; Flags: createvalueifdoesntexist

then once installed open windows regedit and check the following key:
HKEY_CURRENT_USER\Software\gpsScreenSavers\YourScreenSaverName\Settings

to see if the NoSound value have been set

Re: Can we create an install package with audio off by default ?

Posted: Fri Jun 21, 2024 1:10 am
by AngelicInterface
Wow that is a powerful customization option through Innosetup!
Thanks again.