vbjeff
Posts: 23
Joined: Tue May 14, 2013 3:08 pm

.NET Custom Action .InstallState file

I have created a .NET dll custom action that I call from AI using a '.NET Installer Class action'. During the Install Execution stage I perform an Install action and during Uninstall I have another custom action (same .dll) to perform an Uninstall action. After installing my program, a CustomAction.InstallState file is created for my CustomAction.dll. I noticed that occasionally I get a CustomAction.InstallState file not found messagebox during uninstall. Is there a reason that I need the .InstallState file? Is there a way to not use it? Is there something about the execution stage/time I selected for my custom action(s) that may be causing this issue?

Thanks,
Jeff
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: .NET Custom Action .InstallState file

Hello Jeff,

You can take a look on our "InstallState & InstallLog files left behind on uninstall" thread which debates a similar issue.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”