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

Notification

Icon
Error

Deployment using NSIS
yslooi
#1 Posted : Sunday, February 11, 2007 3:57:38 PM(UTC)
Groups: Member
Joined: 1/30/2007(UTC)
Posts: 4

Hello,
I'm using the NSIS to deploy my web server.

How i going to invoke the ultidevcassiniServerConfiguration.dll using NSIS.

Please advice
Many Thx,
LOOI

Ultidev Team
#2 Posted : Sunday, February 11, 2007 6:28:16 PM(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)
Hi, Looi.

If you are using InstallShield, WISE, NSIS, or any other non-Visual Studio based installation authoring tool, registering an application with UltiDev Cassini can be done using command line parameters of UltiDev Cassini Web Server instead of relying on .NET-based API from UltiDevCassiniServerConfiguration.dll. UltiDevCassinWebServer.exe (for ASP.NET 1.1) and UltiDevCassinWebServer2.exe (for ASP.NET 2.0) have following parameters:
Code:
UltiDevCassinWebServer2.exe /register <PhysicalAppFolder> [<AppGUID>] [<defaultDocument>] [<port> | 0] [/DontKeepRunning]


For example, if you want to to register an application located in the "c:\program files\FamilyCalendar" folder with start page named Home.aspx, your registration command like will look like this:
Code:
UltiDevCassinWebServer2.exe /register "%ProgramFiles%\FamilyCalendar" <YourAppGUID> Home.aspx


To unregister an application call
Code:
UltiDevCassinWebServer2.exe /unregister <AppGUID>


Please let us know if this information has helped.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
yslooi
#3 Posted : Sunday, February 11, 2007 9:55:51 PM(UTC)
Groups: Member
Joined: 1/30/2007(UTC)
Posts: 4

Hello,
Thx for the reply.
If I using "UltiDevCassinWebServer2.exe /register "%ProgramFiles%\FamilyCalendar" <YourAppGUID> Home.aspx", I encountered 2 problem.

Problem 1:
I receive this message during installation.
Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.

The following components were successfully installed:
- UltiDev Cassini Web Server for ASP.NET 2.0

See the setup log file located at 'C:\DOCUME~1\YSLOOI~1.NEW\LOCALS~1\Temp\VSD2D6.tmp\install.log' for more information.

Problem 2:
If I'm offline, I fail to install the web server. The ultidevcassini try to look for the file to install by download it.
The message said that
An error occurred downloading the following resource:
http://crm.ultidev.com/R...Download.aspx?CWSR2GA04

Date: 2/12/2007 3:46:51 PM

See the setup log file located at 'C:\DOCUME~1\YSLOOI~1.NEW\LOCALS~1\Temp\VSD2F5.tmp\install.log' for more information.

How I going to solve this so that I can bundle all the file in my deployment and install it siliently?

Please advice,
Many Thx
LOOI
Ultidev Team
#4 Posted : Monday, February 12, 2007 6:09:35 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)
Hi!

To distribute UltiDev Cassini you don't need to ship the EXE you downloaded from UltiDev web site because it includes Visual Studio integration components. Instead you need to ship and install two MSI packages comprising UltiDev Cassini web server runtime: UltiDev Cassini Explorer and UltiDev Cassini Web Server. If you have Visual Studio 2005 installed, you can find those MSIs in the "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\UltiDev Cassini Web Server for ASP.NET 2.0" folder. If you don't have that folder on your system you can download and save these MSIs from here:
For ASP.NET 2.0 applications:
- UltiDev Cassini Web Server Explorer
- Cassini Web Server for ASP.NET 2.0
For ASP.NET 1.1 applications:
- UltiDev Cassini Web Server Explorer
- Cassini Web Server for ASP.NET 1.1

Include those two MSI into your product installation package and have them installed before your main application installation starts. Use MSIEXEC.EXE /passive to do that. This will take care of the Problem 2. To resolve Problem 1, be sure you specify the correct location of the UltiDevCassinWebServer2.exe. It should be "%ProgramFiles%\UltiDev\Cassini Web Server for ASP.NET 2.0\UltiDevCassinWebServer2.exe". If you still have an issue there please send us the exact command line you are using to register your application and we'll be happy to help you with that.

Please let us know if this has helped to resolve the issue.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
yslooi
#5 Posted : Monday, February 12, 2007 3:38:57 PM(UTC)
Groups: Member
Joined: 1/30/2007(UTC)
Posts: 4

Hello,
Thx for the help.

Ok for the initial step.
I'm deployment the UltiDevCassini WebExplorer using the command line as shown

msiexec /i "C:\cassiniexplorersetup.msi" (working)
msiexec /passive "C:\cassiniexplorersetup.msi" (not working, the msiexec prompt me the help command)

Deployment for UltiDev Cassini Web server. I'm using command line as shown

msiexec /i "C:\cassiniserver2setup.msi" (working), but I can't specify the parameter such as default page, location of application and etc.
msiexec /passive "C:\cassiniserver2setup.msi" (not working)

How I going to specify the parameters?
The "/passive" not work, any idea?

Please advice,
Many Thx
LOOI.


Ultidev Team
#6 Posted : Monday, February 12, 2007 7:24:49 PM(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)
Hi, here's the sequence of steps:

1. msiexec.exe /passive /i CassiniExplorerSetup.msi
2. msiexec.exe /passive /i CassiniServer2Setup.msi
3. >> Your product installation goes here <<<
4. "%ProgramFiles%\UltiDev\Cassini Web Server for ASP.NET 2.0\UltiDevCassinWebServer2.exe" /register "c:\your asp.net app folder" <appGuid> <default document>
(Last step on 64-bit versions of Windows will look like "%ProgramFiles(x86)%\UltiDev\Cassini Web Server for ASP.NET 2.0\UltiDevCassinWebServer2.exe" /register "c:\your asp.net app folder" <appGuid> <default document>)

Please let us know if this has helped.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
yslooi
#7 Posted : Monday, February 12, 2007 11:27:34 PM(UTC)
Groups: Member
Joined: 1/30/2007(UTC)
Posts: 4

Hello,
Thx. It's working.

LOOI
Ultidev Team
#8 Posted : Tuesday, February 13, 2007 7:26:08 PM(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)
Super!

We have updated our Developer's Guide by including information on how to include UltiDev Cassini Web Server into setup packages made by third-party installation authoring tools like Installshield, WISE, NSIS and others.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (11)
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.