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

Notification

Icon
Error

CMD line ARGs
JeromeC
#1 Posted : Friday, February 2, 2007 12:11:56 PM(UTC)
Groups: Member
Joined: 1/31/2007(UTC)
Posts: 7
Location: Chicago

Hello, do you have any examples of CMD line options?
I am attempting the following:
<pathTo>UltiDevCassiniWebServer2.exe /register "C:\CassiniTest" "A4C232D5-5FAE-4A09-9026-937342B72648" "default.aspx" "0" /DontKeepRunning

This always results in an invalid CMD argument message.
Ultidev Team
#2 Posted : Friday, February 2, 2007 12:22:30 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,

Your command line looks right. Could you please post the exact error message you are getting.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
JeromeC
#3 Posted : Friday, February 2, 2007 12:42:53 PM(UTC)
Groups: Member
Joined: 1/31/2007(UTC)
Posts: 7
Location: Chicago

Thank you for the quick reply!
Just a quick note that I am able to register the app manually using the console. I did un-register before attempting the CMD method.

When using the CMD method I get a dialog containing the following message:
An error occurred attempting to install UtilDev CassiniWeb Server for Visual Studio 2005 Developers. I an executing this on a VMWare 4.5.2 Windows 2k3 server image.

The install.log contains the following:

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.2.0 {version}
Running checks for package '.NET Framework 2.0', phase BuildList
Running external check with command line "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD50.tmp\dotnetfx\dotnetchk.exe"
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet Explorer'
Read string value '6.0.3790.0'
Setting value '6.0.3790.0 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0':
Property: [DotNetInstalled] = 1 {int}
Property: [IEVersion] = 6.0.3790.0 {string}
Running checks for command 'dotnetfx\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'dotnetfx\instmsia.exe' is 'Bypass'
Running checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true
Result of checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
Running checks for command 'dotnetfx\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled' and value '0': true
Result of checks for command 'dotnetfx\dotnetfx.exe' is 'Bypass'
'.NET Framework 2.0' RunCheck result: No Install Needed
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package 'UltiDev Cassini Web Server for ASP.NET 2.0', phase BuildList
Running MsiProductCheck with ProductCode '{c31f3d35-4f9e-451f-b127-15bbcb26e8bd}'
MsiQueryProductState returned '5'
Setting value '5 {int}' for property 'CassiniExplorer'
Running MsiProductCheck with ProductCode '{ecf29017-7f61-45a5-9ba7-d7568d7e2ea3}'
MsiQueryProductState returned '5'
Setting value '5 {int}' for property 'Cassini2Server'
The following properties have been set for package 'UltiDev Cassini Web Server for ASP.NET 2.0':
Property: [Cassini2Server] = 5 {int}
Property: [CassiniExplorer] = 5 {int}
Running checks for command 'UltiDev Cassini Web Server for ASP.NET 2.0\cassiniexplorersetup.msi'
Result of running operator 'ValueGreaterThan' on property 'CassiniExplorer' and value '0': true
Result of checks for command 'UltiDev Cassini Web Server for ASP.NET 2.0\cassiniexplorersetup.msi' is 'Bypass'
Running checks for command 'UltiDev Cassini Web Server for ASP.NET 2.0\cassiniserver2setup.msi'
Result of running operator 'ValueGreaterThan' on property 'Cassini2Server' and value '0': true
Result of checks for command 'UltiDev Cassini Web Server for ASP.NET 2.0\cassiniserver2setup.msi' is 'Bypass'
'UltiDev Cassini Web Server for ASP.NET 2.0' RunCheck result: No Install Needed
Launching Application.
Using MsiInstallProduct with package path 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RarSFX2\Cassini2Server.msi' and command line ' /register "C:\CassiniTest" " A4C232D5-5FAE-4A09-9026-937342B72648" "default.aspx" "0" /DontKeepRunning'
MsiInstallProduct returned '1639'
Error: Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.
Ultidev Team
#4 Posted : Friday, February 2, 2007 12:50: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,

From the last few lines of the log file it appears that you are launching Cassini2Server.msi with the command line parameters, not the UltiDevCassiniWebServer2.exe. To register an application with Cassini using command line parameters Cassini Web Server needs to be installed first from Cassini2Server.msi, and only after that UltiDevCassiniWebServer2.exe can be started from "%ProgramFiles%\UltiDev\Cassini Web Server for ASP.NET 2.0" folder.

Would you mind telling us what installation authoring tool you are using? Is it InstallShield?

Thank you,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
JeromeC
#5 Posted : Friday, February 2, 2007 1:08:39 PM(UTC)
Groups: Member
Joined: 1/31/2007(UTC)
Posts: 7
Location: Chicago

I am not using an installer at this time – just trying to perform silent automated installs using the tools provided in your download. The problem was in the original cmd line - thanks again for the direction.

Did I mention how cool your tool is :-)
Ultidev Team
#6 Posted : Friday, February 2, 2007 7:36:33 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)
Thank you very much for the nice feedback! It's extremely important for us to know we are going in the right direction.

Regarding the issue, we are a bit confused: which program has generated the log file you've posted? We assumed it was an installation package you created that included UltiDev Cassini, and attempting to register your web application with Cassini after Cassini is installed. If this is not correct description of the use case, could you please provide more details on what you are trying to accomplish, what software and tools you are using, and what steps lead to the failure?

Thank you again. We'll be happy to keep working on the issue until we resolve it.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
JeromeC
#7 Posted : Monday, February 5, 2007 6:06:56 AM(UTC)
Groups: Member
Joined: 1/31/2007(UTC)
Posts: 7
Location: Chicago

Sorry for the confusion, I’ll attempt to provide some clarity.

Your main bootstrap is named: UltiDevCassiniWebServer2.exe
The file that registers ASP.Net pages is named UltiDevCassinWebServer2.exe. I was attempting to install Cassini (UltiDevCassiniWebServer2.exe) and register my ASP.Net application in a single process.

I believed this was possible because I missed the fact that the file names were different (UltiDevCassiniWebServer2.exe, UltiDevCassinWebServer2.exe).

The log file I attached was generated using a system policy which captured install information involving UltiDevCassiniWebServer2.exe.

I understand now that this is not possible using your bootstrap. My ultimate goal is to conditionally install Cassini and register ASP.Net applications (including shortcuts) if a target does not contain IIS.

Best regards,
Jerome
Ultidev Team
#8 Posted : Monday, February 5, 2007 7:02:14 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)
Jerome,

You don't need to ship UltiDevCassiniWebServer2.exe just to get Cassini installed because that package is installing not only Cassini runtime, but also Visual Studio integration components. Instead go to "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\UltiDev Cassini Web Server for ASP.NET 2.0" folder and include cassiniexplorersetup.msi and CassiniServer2Setup.msi in your installation package. When your installation logic decides Cassini needs to be installed, run those two MSIs (using MSIEXEC.exe for example) in the order specified above, and Cassini will be installed. After that you can run UltiDevCassinWebServer2.exe /register .... to register your application with Cassini.

Please let us know if this helps.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#9 Posted : Tuesday, March 8, 2016 2:16:07 AM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest (7)
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.