Windows installer: Error 1001, CustomAction _xxxxx.install returned actual error code 1603

后端 未结 3 990
花落未央
花落未央 2021-01-26 23:34

Question:

I have created an installer for a windows service with Visual Studio 2012 and InstallShield.

The service runs fine.
The installer runs fine on my

3条回答
  •  暖寄归人
    2021-01-27 00:09

    Solved by overriding all the methods of Custom action in my Installer class. After making lot of try,finally it works like a charm.

      public override void Install(IDictionary savedState)
        {
             base.Install(savedState);
    
        }
     public override void Commit(IDictionary savedState)
        {
            base.Commit(savedState);
        }
    
        public override void Rollback(IDictionary savedState)
        {
            base.Rollback(savedState);
        }
    
        public override void Uninstall(IDictionary savedState)
        {
            base.Uninstall(savedState);
        }
    

提交回复
热议问题