Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Problem with VC++ runtime libraries and HomeSite
 

Problem with VC++ runtime libraries and HomeSite

My installer needs to check for and install (if needed) the VC++ x86 Runtime libraries. I've checked the prerequisite in the installer and I've set the location to "download from vender's website".

Initially I was getting a build error that HomeSite wasn't defined. I searched this forum and found the "HomeSite/bootstrapper for Visual C++ Runtime Libraries (x86)" thread (http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/8d0db133-7d53-4184-b813-e2387467fed6) and I followed the instructions and added the HomeSite setting to my product.xml file.

When I ran however, after the VC++ libraries installer was downloaded I got a error message saying "Setup has detected that the file 'C:\DOCUME~1\MyUser\LOCALS~1\Temp\VSDAD8.tmp\vcredist_x86\vcredist_x86.exe' has changed since it was initially published. Click OK to retry the download, or Cancel to exit setup."

I thought this might be due to a old vcredist_x86.exe, so I went to "http://www.microsoft.com/downloads/thankyou.aspx?familyId=200b2fd9-ae1a-4a14-984d-389c36f85647&displayLang=en" and got the link to the actual latest file - "Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)", which is http://download.microsoft.com/download/e/1/c/e1c773de-73ba-494a-a5ba-f24906ecf088/vcredist_x86.exe

After updating my product.xml, restarting, and then rebuilding... I still get the same error.

Any suggestions?


Thanks,


Jeff

Jeff99999  Monday, August 17, 2009 6:22 PM
OK,

I think I solved my own problem. I took a look and the vcredist_x86.exe that I was pointing to didn't the product ID of the SP1 Redistributable Package, so I replaced my vcredist_x86.exe (the one in C:\Program Files\Microsoft Visual Studio .NET 2005\SDK\v2.0\BootStrapper\Packages\vcredist_x86) and updated product.xml with the correct GUID and it seems to be working.

Jeff

  • Marked As Answer byJeff99999 Monday, August 17, 2009 9:04 PM
  •  
Jeff99999  Monday, August 17, 2009 9:04 PM
OK,

I think I solved my own problem. I took a look and the vcredist_x86.exe that I was pointing to didn't the product ID of the SP1 Redistributable Package, so I replaced my vcredist_x86.exe (the one in C:\Program Files\Microsoft Visual Studio .NET 2005\SDK\v2.0\BootStrapper\Packages\vcredist_x86) and updated product.xml with the correct GUID and it seems to be working.

Jeff

  • Marked As Answer byJeff99999 Monday, August 17, 2009 9:04 PM
  •  
Jeff99999  Monday, August 17, 2009 9:04 PM

You can use google to search for other answers

Custom Search

More Threads

• How to install dependencies for indirect references to the GAC via .msm Merge Modules
• install a C++ service project and register it with the windows service control applet
• Auto Start of Windows Application after installation
• How to install a file only once, and keep it there through multiple installs and uninstalls
• How to make a Setup of .Net application?
• Error received after installing SSL cert on DB server...
• Installing to a folder depending on which one exists already (different for every language)
• Custom verification of entered target directory
• Setup File Deployment Question
• .NET 3.5 Installation problem