ISSUE :
 
Profile photo
Submitted by G-Stone
on August 28th, 2012 at 08:05:31 EST

MSI Installer setup project - Error 1001. Installation failed. --> Value cannot be null.

I am trying to setup new MSI installer packaging using Visual Studio built-in setup project. It compiles fine but whenever I tried to install it, I get error message:

Error 1001. Installation failed.
--> Value cannot be null.
Parameter name: value


Any idea?


Profile photo
Replied by RaKumar
on August 28th, 2012 at 12:54:23 EST
Seems like you are missing CustomActionData under Custom Action in Setup project.

You can find CustomActionData property under setup project Custom Actions -> individual Install, Commit, Rollback and Uninstall section.

- Right click setup project in solution explorer in visual studio
- click View>Custom Actions
- You can see CustomActionData under installer dll property.
Accepted Answer
Accepted
 Answer

Profile photo
Replied by G-Stone
on August 29th, 2012 at 14:27:07 EST
I was missing CustomActionData. Thank you RaKumar for pointing out. Highly appreciate it.

After I passed my parameters to CustomActionData property, my MSI package is working as expected.