derekaug derekaug - 4 months ago 70
Node.js Question

Rollback on node.js install on Windows 7 x64 PC

I've been trying to get node.js installed on my home PC for a while now with no luck. I've tried different versions for the past couple months and no matter what I try it starts rolling back the install at "Creating shortcuts" and it fails to install. I created an install log for anyone who wants to look at it and take a stab at helping me solve the problem. Thanks!

https://dl.dropbox.com/u/177486/MSIf99e3.LOG

Answer

Windows Installer is reporting that it's installed even though it's been rolled back.

Run msiexec /x {29552F29-7FE9-441F-BC56-E6B591587A59}

Where the above guid is the ProductCode value from your log.

If that doesn't work and you have access to Orca.exe from the Windows SDK, you may be able to modify WixSchedInternetShortcuts to a false condition and install successfully. To do that, install Orca, then right click on the node.js msi file and choose 'Edit with Orca' then:

  1. Highlight InstallExecuteSequence under "Tables" on the left.
  2. Find WixSchedInternetShortcuts in the right
  3. Double-click the Condition cell and change VersionNT > 400 to 0
  4. Go to File -> Save
  5. Run the installer again

After installing this version, you should be able to cleanly remove it via Add/remove programs and install another version without modifying the msi file.