Default installation to turn on all file associations?

858 views
Skip to first unread message

tyler.t...@gmail.com

unread,
May 16, 2017, 3:32:18 PM5/16/17
to ImageGlass Community

I found that the install works fine with the /SILENT switch.   Nice.

How do I get the installation to also turn on all supported file associations by default?  (don't want to manually turn them on with each install)

Thanks!

ImageGlass Community

unread,
May 17, 2017, 4:13:45 AM5/17/17
to ImageGlass Community, tyler.t...@gmail.com
Hi,

Because the setup is created by Inno Script, you can use any command of Inno Setup here: http://www.jrsoftware.org/ishelp/index.php?topic=setupcmdline

To register the file associations:

- Use igtask.exe ultilities (can find it in startup folder of ImageGlass) 
igtasks.exe regassociations "*.bmp;*.cur;*.cut;*.dib;*.emf;*.exif;*.gif;*.ico;*.jfif;*.jpe;*.jpeg;*.jpg;*.pbm;*.pcx;*.pgm;*.png;*.ppm;*.psb;*.svg;*.tif;*.tiff;*.webp;*.wmf;*.wpg;*.xbm;*.xpm;*.exr;*.hdr;*.psd;*.tga;"

- Or run Registry script, can find it here: https://github.com/d2phap/ImageGlass/issues/129 


To integrate the file associations into installation, you can create a *.BAT file to run setup file first then run the script.



Cheers

Reply all
Reply to author
Forward
0 new messages