Page 1 of 1
Installaware 11 Windows 8
Posted: Wed Jan 02, 2013 8:35 am
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
Re: Installaware 11 Windows 8
Posted: Wed Jan 02, 2013 10:59 am
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.
Re: Installaware 11 Windows 8
Posted: Wed Jan 02, 2013 12:22 pm
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
Re: Installaware 11 Windows 8
Posted: Wed Jan 02, 2013 12:37 pm
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/windows/desktop/ms724439(v=vs.85).aspx Regards