Page 1 of 2

This product cannot be installed on this operative system

Posted: Mon Mar 05, 2012 6:32 pm
by mhammady
Hi, We successfully compiled our setup, and when we tried to test it on XP PC (SP3) we get the following message "This product cannot be installed on this operative system".

in [Application requirements], We didn't select any requirement except to have "administrator privileges", and in [Summary and UAC], we set the "Requested Elevation Level" to "Always Elevate".

Could you please advise what could be wrong?


PS: We use Installaware RAD Studio Edition

Thx
M. Hammady

Re: This product cannot be installed on this operative syste

Posted: Tue Mar 06, 2012 9:31 am
by FrancescoT
Dear User,

I have the suspect that in your install script, there is something that check for a minimum required OS.

Can you check it?

Let me know.

Regards

Re: This product cannot be installed on this operative syste

Posted: Tue Mar 06, 2012 11:58 am
by mhammady
Hi, Thank you for your reply. I did double checked back, and i did removed all the checks. Still couldn't install on XP

Re: This product cannot be installed on this operative syste

Posted: Tue Mar 06, 2012 1:05 pm
by FrancescoT
Dear User,

have you added any runtime?

Regards

Re: This product cannot be installed on this operative syste

Posted: Tue Mar 06, 2012 4:10 pm
by mhammady
Dear Sirs,

Yes; we added
MS .net FW 2 with SP2
MS DirectX 9b
MS SQL server express 2008 R2 (x86)
MS Windows installer 4.5

Re: This product cannot be installed on this operative syste

Posted: Wed Mar 07, 2012 8:37 am
by FrancescoT
Dear User,

for what you reported everything seems fine, but I still suspect that of course there is somenthing in your script causing this issue.

could you plese verify carefully what exactly causes this executing a debug of your installation?

Regards

Re: This product cannot be installed on this operative syste

Posted: Wed Mar 07, 2012 11:25 am
by mhammady
Dear Sir,

We are new to installaware. Could you please advise how we can execute a debug for our installation project?

Re: This product cannot be installed on this operative syste

Posted: Wed Mar 07, 2012 1:16 pm
by FrancescoT
Dear User,

Could you send me your project and I will have a look as soon as I can?

Regarding Debug, please see "Debugging" within IA Help docs - Press F1 from IA IDE.

Regards

Re: This product cannot be installed on this operative syste

Posted: Wed Mar 07, 2012 2:52 pm
by mhammady
Thank you for your support. Attached is the setup project file in zip.

Re: This product cannot be installed on this operative syste

Posted: Thu Mar 08, 2012 8:35 am
by FrancescoT
Perfect!

I have received your file and I will be back to you as soon as I can.

Regards

Re: This product cannot be installed on this operative syste

Posted: Mon Mar 12, 2012 9:54 am
by mhammady
Dear Sirs, Is there is any update on this problem?

Re: This product cannot be installed on this operative syste

Posted: Mon Mar 12, 2012 11:11 am
by FrancescoT
Dear User,

your setup show you that warning because in your setup you have the following code that it is not correct:

Set Variable CHECKOS to FALSE
Get System Setting Windows 95 into CHECKOS_WIN95
CHECKOS = CHECKOS or CHECKOS_WIN95
Get System Setting Windows 98 into CHECKOS_WIN98
CHECKOS = CHECKOS or CHECKOS_WIN98
Get System Setting Windows ME into CHECKOS_WINME
CHECKOS = CHECKOS or CHECKOS_WINME
Get System Setting Windows NT4 into CHECKOS_WINNT4
CHECKOS = CHECKOS or CHECKOS_WINNT4
Get System Setting Windows 2003 into CHECKOS_WIN2003
CHECKOS = CHECKOS or CHECKOS_WIN2003
Get System Setting Windows 2000 into CHECKOS_WIN2000
CHECKOS = CHECKOS or CHECKOS_WIN2000
Get System Setting Windows XP into CHECKOS_WINXP
CHECKOS = CHECKOS or CHECKOS_WINXP
Get System Setting Windows Vista into CHECKOS_WINVISTA
CHECKOS = CHECKOS or CHECKOS_WINVISTA
if Variable CHECKOS not Equals TRUE
MessageBox: $TITLE$ Setup Error, This product cannot be installed on this operative system.
Terminate Installation
end

First the variables "CHECKOS_WIN95,CHECKOS_WIN98 and so on " are never defined and also, you are using variables without dereferencing them,

you use (wrong)> CHECKOS = CHECKOS or CHECKOS_WIN95
must be (correct)> CHECKOS = $CHECKOS$ or $CHECKOS_WIN95$

Please have a look to InstallAware helps docs for "Using Variables" (press F1in IA IDE)

By the way, even if you correct those your code wil not work.
For example, if you want to test for a minimum required OS why do you not use?

Get System Setting Windows XP into CHECKSYSTEM
if Variable CHECKSYSTEM not Equals TRUE
MessageBox: $TITLE$ Setup Error, This product requires at least Windows XP.$NEWLINE$$NEWLINE$Setup cannot continue.
Terminate Installation
end

I suggest to you to start with a simple templete test project first as "Win32 Template", in order to understand how setup script flow works.

Regards

Re: This product cannot be installed on this operative syste

Posted: Fri Mar 23, 2012 1:21 pm
by mhammady
Thank you for your reply.
I did looked into the file, and i found the code you mentioned. As a matter of fact i didn't write any of these codes, and when i removed it from the file <title>.mia.txt and opened the project again, the IA wrote the same lines again after i saved the project.

Is this a bug in IA?

I'm using IA RAD studio Edition (Build Moooya.8.22.11)

Kindly advise what i shall do?

Thx

Re: This product cannot be installed on this operative syste

Posted: Fri Mar 23, 2012 2:42 pm
by mhammady
Update: I did start a new project, and it worked fine... There must be something with IS import engine that causes this problem

Re: This product cannot be installed on this operative syste

Posted: Mon Mar 26, 2012 7:55 am
by FrancescoT
When will be possible for you, can you give me more detailed infos on the import process you used?

have you tryed to import from InstallShield?

Regards