Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / May 2004

Tip: Looking for answers? Try searching our database.

Custom Actions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ashok Subramanian - 25 May 2004 20:56 GMT
Hello,

is it possible to have a custom action in a windows installer as a
.NET class library? I have already written a custom action as a
console application and it works fine but my problem is the console
application throws up the console window and I don't need it. Even
when I get the window and hide it using
ShowWindow(), I still see the window for a second. I could write the
custom action as a windows installer library but I have a limitation
in my environment that prevents it.

Thanks for the help
Ashok
Phil Wilson - 26 May 2004 01:32 GMT
No, you can't. You can do it with Installer classes, but they are called
using a wrapper DLL to call them. You might be able to do your custom action
with VBScript though.

Keep in mind that you're seeing the command prompt because it's a console
application. Why not just go to your project properties Output Type and
change it from Console Application to Windows Application?
Signature

Phil Wilson [MVP Windows Installer]
----

> Hello,
>
[quoted text clipped - 9 lines]
> Thanks for the help
> Ashok
Ashok Subramanian - 26 May 2004 22:54 GMT
Thanks, that works great for me. VBScript is a little limiting for me,
so this is great.

> No, you can't. You can do it with Installer classes, but they are called
> using a wrapper DLL to call them. You might be able to do your custom action
[quoted text clipped - 16 lines]
> > Thanks for the help
> > Ashok

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.