hi,

I am using Visual Studio. i am trying to set launch conditions for my MSI. I need to set it to install on NT 4.0, 2000, XP, and Windows Server 2003. Would this do it? VersionNT >= 500 or VersionNT <600

Also, I need to set it so that it is only IE 5.0 and IE 6.0, not 7
how do i do that?

Thanks
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Aleks, I think the lack of response to your question is likely due to the fact that very, very few people use VS for packaging. You may recall my advice to get a proper authoring tool...?
Answered 07/04/2008 by: VBScab
Red Belt

Please log in to comment
0
It would need to be VersionNT >= 500 AND VersionNT <600
Answered 07/04/2008 by: Jamie B
Orange Senior Belt

Please log in to comment
0
... and to answer the second part of your question.

You would need to populate the following tables with the entries shown :-

DrLocator table

Signature_ Parent Path
sigShdocvw [SystemFolder] 0
sigShdocvw1 [SystemFolder] 0

Signature table *

Signature Filename MinVersion
sigShdocvw shdocvw.dll 5.0.2014.213
sigShdocvw1 shdocvw.dll 6.0.2599.9999

* leave all other columns in this table blank

AppSearch table

Property Signature_

IE5FOUND sigShdocvw
IE6FOUND sigShdocvw1

LaunchCondition table *

Condition Description

IE5FOUND OR IE6FOUND Internet Explorer version 5 or 6 must be installed


NB: If you use InstallShield, then all of the above can be achieved using the System Search .. Add Predefined Search option.

Regards,

Graham Warnes
Answered 07/04/2008 by: spartacus
Black Belt

Please log in to comment
0
Out of interest, is there a reason you used shdocvw.dll to check the IE version - rather than say iexplore.exe or reg data under HKLM\SOFTWARE\Microsoft\Internet Explorer ?

Cheers,
Rob.
Answered 07/04/2008 by: MSIPackager
Third Degree Black Belt

Please log in to comment
0
The IE version can be checked in different ways but if I recall the shdocvw.dll file was used in one of the SQL merge modules so maybe Graham just referenced the MSM.

The below link seems similar
Detecting Internet Explorer and Other Applications with Windows Installer
http://www.installsite.org/pages/en/isnews/200105/SearchIE.htm


How to determine which version of Internet Explorer is installed
http://support.microsoft.com/kb/164539/en-us
Answered 07/05/2008 by: AngelD
Red Belt

Please log in to comment
0
ORIGINAL: MSIPackager

Out of interest, is there a reason you used shdocvw.dll to check the IE version - rather than say iexplore.exe or reg data under HKLM\SOFTWARE\Microsoft\Internet Explorer ?

Cheers,
Rob.



No reason really, just "borrowed" the details from the System Search .. Add Predefined Search in the InstallShield's Editor.

If you read the second link in Kim's (AngelD) reply, it looks like you cannot use shdocvw.dll for Internet Explorer 7, so I've learned something new there :-)

Regards,

Spartacus
Answered 07/07/2008 by: spartacus
Black Belt

Please log in to comment
0
Thank you guys for your responses, i think I have found what i've been looking for on MS site. Link provided below for those that are interested:

http://msdn.microsoft.com/en-us/library/k3bb4tfd(VS.80).aspx
Answered 07/11/2008 by: aleks1429
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity