Search found 3 matches

Go to advanced search

by trofimich
Wed Dec 05, 2012 5:54 pm
Forum: Building Installers
Topic: Cancel installation from custom action (.NET application)
Replies: 4
Views: 7347
 
Jump to post

Re: Cancel installation from custom action (.NET application

Please keep in mind that in order to stop the installation process your custom action should return a return value different from 0. Also, you should enable the "Synchronous execution, check return code" execution properties from "Custom Action Properties" right pane. Please take a look on "Custom ...
by trofimich
Tue Dec 04, 2012 12:37 pm
Forum: Building Installers
Topic: Cancel installation from custom action (.NET application)
Replies: 4
Views: 7347
 
Jump to post

Re: Cancel installation from custom action (.NET application

Sorry, the question is incorrect. I've thought that AdvancedInstaller will automatically recognuze my exe as .NET assembly and will call installer class.

Now i know that i should manually create .NET custom action for use installer class, otherwise assembly will be used as common executable.

We ...
by trofimich
Mon Dec 03, 2012 6:11 pm
Forum: Building Installers
Topic: Cancel installation from custom action (.NET application)
Replies: 4
Views: 7347
 
Jump to post

Cancel installation from custom action (.NET application)

Hi!
Can anybody help me.
I have special application (configurator.exe) for configuring our product. Application developed on C#.
My application should detect if it were started during installation or manyally by user.

I've implemented such code for this (which worked fine in VS setup project ...

Go to advanced search