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 / Visual Studio.NET / Setup / July 2006

Tip: Looking for answers? Try searching our database.

What is this warning when building a setup project in VS2005?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David White - 11 Jul 2006 21:35 GMT
WARNING: Windows Installer is not included in any selected prerequisite

I have no idea or hint of what this is about. My installer seems to work fine
but I'd like to eliminate this warning if possible. Anyone know how? Thanks.
Phil Wilson - 12 Jul 2006 01:05 GMT
Windows Installer is what installs the content of MSI files. It's been
around since well before .NET (just in case you are thinking that MSI setups
are just a .NET thing or something unique to Visual Studio) There are some
older versions of Windows (I think base Windows 2000) that do not have
Windows Installer 2.0 as part of the OS.
Signature

Phil Wilson [MVP Windows Installer]
----

> WARNING: Windows Installer is not included in any selected prerequisite
>
> I have no idea or hint of what this is about. My installer seems to work
> fine but I'd like to eliminate this warning if possible. Anyone know how?
> Thanks.
David White - 12 Jul 2006 02:02 GMT
Thanks Phil. I did know that. But do you know what the message is telling me?
Am I supposed to somehow include the installer itself with my setup? If so,
how? On the systems I have (2K, XP, and Server2003 - these are all I need to
support), the installer seems almost part of the OS. Thanks.

> Windows Installer is what installs the content of MSI files. It's been
> around since well before .NET (just in case you are thinking that MSI setups
> are just a .NET thing or something unique to Visual Studio) There are some
> older versions of Windows (I think base Windows 2000) that do not have
> Windows Installer 2.0 as part of the OS.
Phil Wilson - 12 Jul 2006 17:51 GMT
It is part of the OS, however VS 2005 setups have a requirement for MSI 2.0,
and there must still be some OS versions that don't have that version. I
think base Windows 2000 is only MSI 1.1. In any case, the warning is
misleading because the VS 2005 MSI file is built to require MSI 2.0 and if
you tried to install it on an OS that wasn't up to that level you'd get a
message box telling you that you need to update your MSI version.
Signature

Phil Wilson [MVP Windows Installer]
----

> Thanks Phil. I did know that. But do you know what the message is telling
> me? Am I supposed to somehow include the installer itself with my setup?
[quoted text clipped - 6 lines]
>> are some older versions of Windows (I think base Windows 2000) that do
>> not have Windows Installer 2.0 as part of the OS.
David White - 12 Jul 2006 19:24 GMT
Thanks for all Phil.

I will just have to learn to ignore this warning.

Now, if only I can discover how to place a shortcut to uninstall my application
on the start menu, I will be moving along quite well.

David

> It is part of the OS, however VS 2005 setups have a requirement for MSI 2.0,
> and there must still be some OS versions that don't have that version. I
> think base Windows 2000 is only MSI 1.1. In any case, the warning is
> misleading because the VS 2005 MSI file is built to require MSI 2.0 and if
> you tried to install it on an OS that wasn't up to that level you'd get a
> message box telling you that you need to update your MSI version.
Phil Wilson - 13 Jul 2006 00:00 GMT
You'll have to write some code, a small program that fires off msiexec /x
{your product code guid} .

Microsoft recommend that people go to Add/Remove Programs to do this (it'll
be there anyway).
Signature

Phil Wilson [MVP Windows Installer]
----

> Thanks for all Phil.
>
[quoted text clipped - 12 lines]
>> level you'd get a message box telling you that you need to update your
>> MSI version.
David White - 13 Jul 2006 01:14 GMT
Thanks again Phil. Since I had to write a custom action to conditionally place
a shortcut on the start menu for some exe's in my application, I simply added
one that does just what you say below. It all works out pretty well. David

> You'll have to write some code, a small program that fires off msiexec /x
> {your product code guid} .
>
> Microsoft recommend that people go to Add/Remove Programs to do this (it'll
> be there anyway).

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.