开发者

installshield: Windir returns c:\documents & settings\fcuser\windows instead of c:\windows

开发者 https://www.devze.com 2022-12-28 08:50 出处:网络
we have a setup developed in installshield vr 6.3. it is a self extractablesingle setup. it work fine in most on most of the Windows version but on Windows server 2003 64bit in Execution mode when doi

we have a setup developed in installshield vr 6.3. it is a self extractable single setup. it work fine in most on most of the Windows version but on Windows server 2003 64bit in Execution mode when doing RD it return user windows directory against WINDIR i.e. c:\documents & settings\fcuser\windows instead of C:\Windows. According to http://开发者_如何学Gosupport.microsoft.com/?kbid=186499 it should work fine when i change the compatibility bit of Setup but it didn't. i tried changing compatibility bit of these key too (INSTRUN, SETUP and SETUP1 ) but it didn't work either. but when i when i run the setup within the self extractable by extracting it work fine.


InstallShield 6.3 is 10 years old, released when Windows 2000 had just come out. There were no 64-bit Windows OSes at that time. I'm not surprised you're having trouble. You really should think about using a modern version of InstallShield, or migrate to something like Wix/NSIS if upgrading is not financially possible.

As I work-around to using WINDIR, you could try getting this Registry value: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRoot

Or try to get the value of this environment variable:
%SYSTEMROOT%

0

精彩评论

暂无评论...
验证码 换一张
取 消