Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce not working without Windows Installer 3.1
 

ClickOnce not working without Windows Installer 3.1

I am attempting to create a ClickOnce installation for my application using Visual Studio 2008. I go to the Publish tab under the project properties and click the Prerequisites... button, the Prerequisites dialog does not contain an option for any version of Windows Installer. However, if I have the "Create setup program to install prerequisite components" checked, I get the following error message when I try to publish the application.

Item '.NET Framework Client Profile' could not find dependent item 'Microsoft.Windows.Installer.3.1'

I have tried to install the Windows Installer 3.1 Redistributable (v2) from the Microsoft download page, I get the following error.

Setup has detected that the Service Pack version of this system is newer than the update you are applying. There is no need to install the update.

I have ready through many forum postings and have determined that I currently have Windows Installer 4.5 installed. I have installed all of the latest service packs.

I can use ClickOnce as long as I do not build prerequisite packages but I would really like to make these available as well. Can anyone help? Thanks.


Windows Server 2003 Enterprise Edition SP2
Visual Studio 2008 Version 9.0.30729.1 SP
Microsoft .NET Framework Version 3.5 SP1



The following information is from the VS2008 about box.

Microsoft Visual Studio 2008 Version 9.0.30729.1 SP
Microsoft .NET Framework Version 3.5 SP1

Installed Edition: Professional

Microsoft Visual Basic 2008 91605-270-8038682-60759
Microsoft Visual Basic 2008

Microsoft Visual C# 2008 91605-270-8038682-60759
Microsoft Visual C# 2008

Microsoft Visual C++ 2008 91605-270-8038682-60759
Microsoft Visual C++ 2008

Microsoft Visual Studio 2008 Tools for Office 91605-270-8038682-60759
Microsoft Visual Studio 2008 Tools for Office

Microsoft Visual Web Developer 2008 91605-270-8038682-60759
Microsoft Visual Web Developer 2008

Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB944899) KB944899
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB945282) KB945282
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946040) KB946040
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946308) KB946308
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946344) KB946344
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB946581) KB946581
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947171) KB947171
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947173) KB947173
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947180) KB947180
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947540) KB947540
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947789) KB947789
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB948127) KB948127
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB953256) KB953256
Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB945140) KB945140
Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB947888) KB947888
Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB948484) KB948484
Security Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB973675) KB973675
Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB956453) KB956453
Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB967143) KB967143
Visual Studio Package Load Analyzer 1.0
Application Styling Configuration Dialog

  • Edited byFredcicles Wednesday, August 12, 2009 7:55 PM
  • Moved byYiChun ChenMSFTFriday, August 14, 2009 9:32 AMDeployment issue (From:Visual Studio Setup and Installation)
  • Edited byFredcicles Wednesday, August 12, 2009 7:57 PM
  • Edited byFredcicles Wednesday, August 12, 2009 7:56 PM
  • Changed TypeFredcicles Thursday, August 20, 2009 1:47 AMWant to mark answer
  • Edited byFredcicles Wednesday, August 12, 2009 7:57 PM
  • Changed TypeAland LiMSFT, ModeratorWednesday, August 19, 2009 12:21 PMNo reply
  • Edited byFredcicles Wednesday, August 12, 2009 7:53 PM
  • Edited byFredcicles Wednesday, August 12, 2009 7:57 PM
  • Changed TypeFredcicles Thursday, August 20, 2009 1:48 AMreceived an answer
  • Changed TypeFredcicles Thursday, August 20, 2009 1:48 AMIssue resolved
  • Edited byFredcicles Wednesday, August 12, 2009 7:57 PM
  • Edited byFredcicles Wednesday, August 12, 2009 7:56 PM
  •  
Fredcicles  Wednesday, August 12, 2009 7:50 PM
Windows Installer 3.1 really doesn't in the prerequisite list in Visual Studio? It comes with VS2008. I just installed it on a new install of Windows 7, and it's definitely in there.

Also, can you check the folders under Program Files to see if there is a WindowsInstaller3_1 folder?

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages

Are you on XP or Vista?

RobinDotNet
p.s.You have a better chance of getting answers to your questions if you post them in the right forum. ;-)
Click here to visit my ClickOnce blog!
RobinDotNet  Friday, August 14, 2009 6:34 PM
Hi Fredcicles,

If you cannot find a package from C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages, please take a look at this link to see if it helps: http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/40477756-909f-46b1-b1d5-50f73be20050.

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
  • Marked As Answer byFredcicles Thursday, August 20, 2009 1:48 AM
  • Marked As Answer byFredcicles Thursday, August 20, 2009 1:47 AM
  •  
Aland Li  Tuesday, August 18, 2009 5:45 AM
Why can I never get any answers when I post MS forumns?
Fredcicles  Thursday, August 13, 2009 3:53 PM
Hi Fredcicles,

I am moving this thread from Base "Visual Studio Setup and Installation" forum to the "ClickOnce and Setup & Deployment Projects" forum, since the issue is related to deployment. There are more deployment experts in the "ClickOnce and Setup & Deployment Projects" forum.

Thanks
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Friday, August 14, 2009 9:22 AM
Windows Installer 3.1 really doesn't in the prerequisite list in Visual Studio? It comes with VS2008. I just installed it on a new install of Windows 7, and it's definitely in there.

Also, can you check the folders under Program Files to see if there is a WindowsInstaller3_1 folder?

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages

Are you on XP or Vista?

RobinDotNet
p.s.You have a better chance of getting answers to your questions if you post them in the right forum. ;-)
Click here to visit my ClickOnce blog!
RobinDotNet  Friday, August 14, 2009 6:34 PM
Hi Fredcicles,

If you cannot find a package from C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages, please take a look at this link to see if it helps: http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/40477756-909f-46b1-b1d5-50f73be20050.

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
  • Marked As Answer byFredcicles Thursday, August 20, 2009 1:48 AM
  • Marked As Answer byFredcicles Thursday, August 20, 2009 1:47 AM
  •  
Aland Li  Tuesday, August 18, 2009 5:45 AM

Hi,

We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Wednesday, August 19, 2009 12:21 PM
Thanks for the help Aland. Eventually, I was able to get it to work by copying files as suggested in your linked website article.
Fredcicles  Thursday, August 20, 2009 1:47 AM

You can use google to search for other answers

Custom Search

More Threads

• ClickOnce file persistence issues on ClickOnce update...
• Application manifest has either a different computed hash than the one specified or no hash specified at all. error
• Editor for Exes
• Clickonce ---works online but doesn't work when user is offline
• An error occurred while validating. HRESULT = '80040155'
• Published version already exists
• install the setup with some dependencies
• Config File settings not getting reflected
• changing target platform breaks Click Once update
• clickOnce and Https