/build/static/layout/Breadcrumb_cap_w.png

setting launch conditions

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

Answers (7)

Posted by: anonymous_9363 15 years ago
Red Belt
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...?
Posted by: Jamie B 15 years ago
Orange Senior Belt
0
It would need to be VersionNT >= 500 AND VersionNT <600
Posted by: spartacus 15 years ago
Black Belt
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
Posted by: MSIPackager 15 years ago
3rd Degree Black Belt
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.
Posted by: AngelD 15 years ago
Red Belt
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
Posted by: spartacus 15 years ago
Black Belt
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
Posted by: aleks1429 15 years ago
Orange Belt
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ