Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Custom Install in VS2005
Guest
#1 Posted : Tuesday, September 26, 2006 10:26:37 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

Hello, I follow all the steps from "Creating Visual Studio 2005 Setup Project for ASP.NET 2.0 Application and UltiDev Cassini Web Server" section, but I need the choices the user could choose in the setup process, dinamic port or a specific number port. So, how could I do this?

Thanks!!!!
Ariel
Ultidev Team
#2 Posted : Tuesday, September 26, 2006 11:43:46 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Ariel.

Although registering applications with Cassini during installation is usually done without writing code (normally you use custom installer built into UltiDevCassiniServerConfiguration.dll and simply pass /AppID and other parameters), it is not the only way to register applications. If you need to build more sophisticated registration logic, you can use UltiDevCassiniServerConfiguration.dll as an API in your .NET programs. It has RegisterApplication() method that can do all the heavy-lifting registration for you. You can add your custom registration code to your own custom installer, of run it after the application is installed. Registering and unregistering of Cassini applications triggers Cassini service to restart automatically, to calling RegisterApplication() is just about all you need to do to register your application with Cassini programmatically.

Please let us know if you need further help.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Ultidev Team
#3 Posted : Tuesday, September 26, 2006 11:49:29 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Also, back during the Beta 1 times programmatic registration was the only option. Old version of the Developer's guide has a useful code snippet showing how to register an application with Cassini programmatically.

All the best,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#4 Posted : Wednesday, September 27, 2006 5:38:58 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

Thank you for yours answers
Rss Feed  Atom Feed
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.