G
Guest
I am trying to install an applcation on Win XP that is intended to run on
Windows 2000. Based on past experineces with an earlier version of the
product if I can get it to load I am pretty confident that it will work fine
on the XP OS. My problem is that the installer in the version of the product
I am trying to install now uses the getsysteminfo function call to determine
the OS version. Does anyone know how I would be able to spoof it so that the
information below would be returned rather then the real XP values? Is this
something that can be hacked in the registry just to allow me to get through
the installation? I would return the values to theoriginal settings after
running the installer.
sysinfo.nWinMajor = 5
sysinfo.nwinminor = 0 for win2k
sysinfo.winnt.nservicePack = 3
Windows 2000. Based on past experineces with an earlier version of the
product if I can get it to load I am pretty confident that it will work fine
on the XP OS. My problem is that the installer in the version of the product
I am trying to install now uses the getsysteminfo function call to determine
the OS version. Does anyone know how I would be able to spoof it so that the
information below would be returned rather then the real XP values? Is this
something that can be hacked in the registry just to allow me to get through
the installation? I would return the values to theoriginal settings after
running the installer.
sysinfo.nWinMajor = 5
sysinfo.nwinminor = 0 for win2k
sysinfo.winnt.nservicePack = 3