iisnode-iis7-v0.1.9-x64.msi VC++ 2010 Pkg Not Found
I downloaded iisnode-iis7-v0.1.9-x64.msi and tried installing it on my Windows 7 x64 which has Visual Studio 2010 Service Pack 1 installed, and I get the following error message.
Microsoft Visual C++ 2010 Redistributable Package (x64) is required but not installed. Please install it then rerun this installer.
According to the changeset bc5da81, the check was added to verify VC++ 2010 Redistributable Package is installed.
- So I built it from the source using the MSBuild by removing the VC++ 2010 RP from the src/setup/iisnode-msi/iisnode.wxs file.
- When I run the iisnode.msi file from the MSBuild output, I get the error NodeJS is not detected although it is already installed under C:\Program Files (x86)\nodejs\node.exe.
The node.exe is not found at C:\Program Files (x86)\nodejs. IIS cannot serve node.js applications without node.exe. Please run the latest node.js installer from https://github.com/tjanczuk/node/archives/master, then restart this installer.
- So I remove the NodeJS check, built it again, and tried installing it again.
- I get another error while the C:\Windows\system32\inetsrc\appcmd.exe is running with the following messages.
GLOBAL MODULE object "iisnode" added MODULE object "iisnode" added
- The error message I get is this: There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
I am not sure how I can get it installed at this point. Is it possible that the setup is not properly detecting my VC++ 2010 SP1 or could it be something else?
Thanks, Soe
I went through the trouble to get iisnode running manually since the Installer wasn't working for me somehow. For those who are having the same problem, please do this and it should get your iisnode up and running.
- Downloaded the iisnode source into the *C:\iisnodesrc* folder.
- Changed the GUID identifiers for the Visual C++ 2010 Redistributable Package SP1 in the iisnode.wxs file in the iisnode-msi project. I found the GUID from on http://blogs.msdn.com/b/astebner/archive/2010/05/05/10008146.aspx as listed in the file itself.
- Built the iisnode from source with MSBuild in Release mode.
msbuild /p:Platform=x64;Configuration=Release src\iisnode\iisnode.sln
- Then, copy the following files and folders to **C:\Program Files\iisnode**.
- www folder
- etw.bat
- iisnode.dll
- LICENSE.txt
- README.md
- setupsamples.bat
- Now, we need to register the iisnode module with the IIS.
- Open a command prompt with Administrator rights in _C:\Program Files\iisnode_ folder.
- Run the following command.
C:\Windows\System32\inetsrv\appcmd.exe install module /name:iisnode /image:"%ProgramFiles%\iisnode\iisnode.dll" /preCondition:bitness64 /commit:apphost
- Assuming that the node.exe is installed under *C:\Program Files (x86)\nodejs* folder, execute this command to give IIS User Group full rights to the node.exe.
icacls.exe "C:\Program Files (x86)\nodejs\node.exe" /grant IIS_IUSRS:rx
- Now run the C:\Program Files\iisnode\setupsamples.bat to create a [node] virtual directory/application in the IIS.
With that, you should have Node running in IIS with the help of iisnode.
It appears there is a problem with iisnode not accepting VC++ 2010 Redistributable Pacakge SP1 (as opposed to RTM).
tjanczuk is correct. I'm unable to install iisnode due to having SP1 installed.
@shaneneuerburg and @tjanczuk, actually I tried uninstalling SP1. Then, restarted my computer. Then, install VC++ Redis. Pkg and tried running the iisnode setup. It still did NOT work for me regardless.
I don't think it is just a SP1 issue. Maybe the WIX 3.5 is not properly detecting the <RegistrySearch> as defined in the iisnode.wxs file?
<Property Id="VCREDIST2010INSTALLED"> <?if $(var.isWin64) = "yes"?> <RegistrySearch Id="VCRedist2010Search64" Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall{DA5E371C-6333-3D8A-93A4-6FD5B20BCC6E}" Name="InstallDate" Type="raw" /> <?else?> <RegistrySearch Id="VCRedist2010Search32" Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall{196BB40D-1578-3D01-B289-BEFC77A11A1E}" Name="InstallDate" Type="raw" /> <?endif?> </Property>
I have got the same issue as well.
I have the same issue as well.
Thanks to avanderhoorn this is now fixed with 827bfc69f03cb6d89a9f9d3e13569b3dc895cbbb and 1735ed19138e9cc819d717d0fec1e91e3ecfe118