JasonFriday13 Posted April 15, 2009 Posted April 15, 2009 I have noticed the file extensions are not refreshed after the setup program finishes installing, ie the icons don't change immediately. Can I suggest adding the following NSIS code to refresh them? !define SHCNE_ASSOCCHANGED 0x8000000 ; Call this after all file extension registry entries have been written. System::Call 'Shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i 0, i 0, i 0)' I use this for my own little installer that changes the audio icons to custom icons I made.
LIGHTNING UK! Posted April 15, 2009 Posted April 15, 2009 Technically, the installer doesn't actually change any. That's all still done by ImgBurn itself the first time you run/close it down. I know that needs to change but I haven't gotten round to doing it yet.
Recommended Posts