Installaware 11 Windows 8

Got a problem you cannot solve? Try here.
Post Reply
QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Installaware 11 Windows 8

Post by QooScho »

Hello
I tried to install an application made with InstallAware 11 on windows 8
But the OSLEVEL is recognized as UNKNOWN

is this a limitation of IA 11? Does IA 11 not work with windows 8?

regards
Hans
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installaware 11 Windows 8

Post by FrancescoT »

Dear Hans,

this happens because at time when IA 11 was distributed WIN 8 was not available.

Alternatively, you could use a call to "GetVersion" WIN API via "CALL DLL FUNCTION" to obtain the OS version number.
This function has been superseded by GetVersionEx ... but it should stil work.

Hope this helps you.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Re: Installaware 11 Windows 8

Post by QooScho »

Hello Francesco,

thanks a lot for help.

<<Alternatively, you could use a call to "GetVersion" WIN API via "CALL DLL FUNCTION" to obtain the OS version number.>>

Can you give me a small example code? I do not know which function do you mean?
thanks a lot
regards
Hans
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installaware 11 Windows 8

Post by FrancescoT »

Dear Hans,

please try this;

Code: Select all

~InstallAware Clipboard Data~
~MessageBox~
~{2BCA2E97-9414-4038-B1E0-2D5E61C95441}~
~Debug~
~OSVERSION = $OSVERSION$~
~0~
~1~
~~
~Call DLL Function~
~{ED3C6D60-9897-4868-8601-6D15FA826E20}~
~Kernel32.dll,GetVersion,"double word",OSVERSION,$~
~mIDEFunc.dll\mEXEFunc.dll~
~Set Variable~
~{2D1976EA-1F7F-49AD-8C02-47FB21E2E32B}~
~OSVERSION$MYAH$MYAH$FALSE~
~~
For more info about the function, please refer to the MSDN documentation at;
http://msdn.microsoft.com/en-us/library ... s.85).aspx

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply