Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / December 2005

Tip: Looking for answers? Try searching our database.

Problem With Launch Condition

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lee Keng Tung - 16 Dec 2005 08:35 GMT
Hi all,

I'm using the Launch Conditon in VS.NET Deployment project to check for a
file version and display a message if the file version is not correct.

I've created an entry in Search Target Machine:
Depth = 0
FileName = mqsvc.exe
Folder: [SystemFolder]
MaxVersion: 5.9999.9999.9999
MinVersion: 5.1.0.1108
Property:MSMQ3EXISTS1

Then under the Launch Conditions:
Condition: MSMQ3EXISTS1
InstallUrl: <url>
Message: <message to display>

When I run the MSI file, I see the message. This means the condition
MSMQ3EXISTS1 is false. I checked the [SystemFolder] and I see the file is
there. Is there something wrong with my condition? How do I write the
Condition in this case? What value does MSI put in MSMQ3EXISTS1? Is it true
or false or version number? I tried MSMQ3EXISTS1>="5.1.0.1108" but it still
doesn't work.

Any help is much appreciated. Thanks in advance!
Phil Wilson - 17 Dec 2005 23:17 GMT
I believe the documentation of the behavior in Windows Installer/VS is
incorrect. You'll need to specify 5.1.0.1107 as the MinVersion because the
search is for > than the min, not >=.
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> Hi all,
>
[quoted text clipped - 24 lines]
>
> Any help is much appreciated. Thanks in advance!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.