[RegistryKeys]
-=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\IrfanView
if user runs with elevated privileges.
Note: SetRegView has to be used in Custom for x64 systems.
===============================================
UPDATE: January 15, 2014
Found another bug..
[FileWrite1]
Type=INI
File=%PAL:AppDir%\IrfanView\i_view32.ini
Section=Other
Key=INI_Folder
Value=%PAL:DataDir%\IrfanView
is problematic.. INI seems to be too slow and causes IrfanView to not recognize the specified INI folder location. INfact.. i was wondering why IrfanView wouldn't remember the window position.. then i saw i_view32.ini folder was created in $EXEDIR.
switching to ConfigWrite solved this issue..
[FileWrite1]
Type=ConfigWrite
File=%PAL:AppDir%\IrfanView\i_view32.ini
Entry=INI_Folder=
Value=%PAL:DataDir%\IrfanView
Both of these issues are fixed in today's release. The second issue was due to the default INI being left out of the release package. Including it fixes this first-run issue.
Sometimes, the impossible can become possible, if you're awesome!