dorakey
27th October 2010 09:02 UTC
Incorrect install size in Add/Remove program for 64bit WindowsXP
Hi All,
I follow the example below to add estimateSize in uninstall registry,
http://nsis.sourceforge.net/Add_unin..._EstimatedSize
This is works fine in 32-bit Windows XP and Windows 7 but somehow the install size is show incorrect value in Add/Remove Program when I install in a 64-bit Windows XP machine. Suspecting is due to both IntFmt and Dword is for 32bit, but when I check the value set in registry, is actually converted correctly...Any idea ?
Thanks in advcanced.
Anders
27th October 2010 17:22 UTC
ARP is hard to please sometimes...
Maybe it needs to be a REG_QWORD? Are the other entries QWORD?
Have you set InstallLocation to help it out?
Maybe ARP is using old cached data, did you try on a clean machine or changing the uninstall key name?
dorakey
28th October 2010 06:28 UTC
Yes, looks like the trick is InstallLocation registry, I finally can get accurate install size on Add/Remove Program on 64bit windows xp after add in this reg. I'm doing more testing now.
Thanks a lot!!!!!!!!!!!