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

Post your questions, bug reports and feature requests here
Post Reply
AngelicInterface
Posts: 22
Joined: Tue Jan 30, 2024 1:01 am

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

Post 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
User avatar
gpb
Site Admin
Posts: 944
Joined: Mon Dec 19, 2011 1:23 am

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

Post 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
Gianpaolo Bottin
gPhotoShow.com
AngelicInterface
Posts: 22
Joined: Tue Jan 30, 2024 1:01 am

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

Post by AngelicInterface »

Wow that is a powerful customization option through Innosetup!
Thanks again.
Post Reply