Click here to Skip to main content
15,907,492 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I can't able to create custom action in msi installer? kindly let us know.

What I have tried:

In my setup project their is a window called custom action .But when select uninstall folder and add custom action as primary output,nothing as done here.
Posted
Updated 28-Apr-16 3:01am
Comments
Sergey Alexandrovich Kryukov 27-Apr-16 9:29am    
How are you using MSI installer? Any installation toolkit? A custom action is one of the usual features.
Are you using "Setup" project template bundled with Visual Studio (don't; it's phased out, for some good reasons)? Anything else?
—SA
Rahul s menon 28-Apr-16 5:49am    
I am using "Setup" project template bundled with Visual Studio. Can you please suggest any other template which are not third party?
Dave Kreskowiak 28-Apr-16 9:37am    
There are no other templates. There are, however, FAR better tools for creating MSI installers.


1 solution

"Setup" project has been discontinued by Microsoft, by some good reasons. I would never recommend using it.

The most legitimate and robust product I would strongly recommend is WiX, which happened to become the first Microsoft open-source project. First of all, it is fully compliant with the MSBuild standard (unlike other products, including VS "Setup", paradoxically) and has very good Visual Studio integration (but can be used as stand-along one). All aspects of installation are controlled explicitly; installer source code is based in XML (with good Intellisense support under VS).

Please see my past answers:
installshield and Visual Studio 2012 [^],
Custom setup project [^],
How to conditionally install components based on processor architecture type (32-bit or 64-bit)? [2],
How to conditionally install components based on processor architecture type (32-bit or 64-bit)? [3].

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900