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

Notification

Icon
Error

Web deployment problems ...
altraxis
#1 Posted : Friday, April 9, 2010 12:40:12 AM(UTC)
Groups: Member
Joined: 8/27/2009(UTC)
Posts: 8
Location: UK

Hi

I am trying to package my cassini app for deployment via a web download.

I built an .msi and associated setup.exe with VS2005 - pre-requisites set to download from vendors site.

Pre-requisites are dot net framework 2.0, windows installer 3.1 and UltiDev Cassini Web Server for ASP.NET 2.0.

Running setup.exe over my LAN operates successfully.

I then used IExpress to package setup.exe and the .msi into a self-extracting .exe with setup.exe to be run on completion and put this on my webserver for downloading.

When downloading, setup recognises the need to install cassini, but fails with the messages shown below in the log.

If instead I make the download just to unpackage the files, i.e. not to run setup.exe, I can then run the resulting extracted setup.exe successfully, installing cassini and my app.

Wonder if you have any ideas on this, or other ideas on how to install succesfully with a web downloader?


Quote:
Running checks for package 'UltiDev Cassini Web Server for ASP.NET 2.0', phase BuildList
Reading default value of registry key 'HKEY_CLASSES_ROOT\CLSID\{72C24DD5-D70A-438B-8A42-98424B88AFB8}'
Read string value 'Windows Script Host Shell Object'
Setting value 'Windows Script Host Shell Object {string}' for property 'WScript.Shell.1'
Running MsiProductCheck with ProductCode '{40247AAC-AB0D-449C-882F-90401C3351E8}'
MsiQueryProductState returned '-1'
Setting value '-1 {int}' for property 'CassiniExplorer'
Running MsiProductCheck with ProductCode '{F6C8DAED-8CC7-43FD-9DA4-1F629B873A17}'
MsiQueryProductState returned '-1'
Setting value '-1 {int}' for property 'Cassini2Server'
The following properties have been set for package 'UltiDev Cassini Web Server for ASP.NET 2.0':
Property: [Cassini2Server] = -1 {int}
Property: [CassiniExplorer] = -1 {int}
Property: [WScript.Shell.1] = Windows Script Host Shell Object {string}
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': false
Result of running operator 'ValueNotExists' on property 'WScript.Shell.1': false
Result of checks for command 'UltiDev Cassini Web Server for ASP.NET 2.0\cassiniexplorersetup.msi' is 'Install'
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': false
Result of running operator 'ValueNotExists' on property 'WScript.Shell.1': false
Result of checks for command 'UltiDev Cassini Web Server for ASP.NET 2.0\cassiniserver2setup.msi' is 'Install'
'UltiDev Cassini Web Server for ASP.NET 2.0' RunCheck result: Install Needed
Installation of components 'UltiDev Cassini Web Server for ASP.NET 2.0' was accepted.
Copying files to temporary directory "C:\DOCUME~1\Nigel\LOCALS~1\Temp\VSD1A3.tmp\"
Downloading files to "C:\DOCUME~1\Nigel\LOCALS~1\Temp\VSD1A3.tmp\"
(09/04/2010 09:36:10) Downloading 'UltiDev Cassini Web Server for ASP.NET 2.0\cassiniexplorersetup.msi' from 'http://crm.ultidev.com/RedistDownload.aspx?CWSEXPGA04' to 'C:\DOCUME~1\Nigel\LOCALS~1\Temp\VSD1A3.tmp\'
Download completed at 09/04/2010 09:36:11
Downloading failed with HRESULT=-2146697211
(09/04/2010 09:36:15) Downloading 'UltiDev Cassini Web Server for ASP.NET 2.0\cassiniexplorersetup.msi' from 'http://crm.ultidev.com/RedistDownload.aspx?CWSEXPGA04' to 'C:\DOCUME~1\Nigel\LOCALS~1\Temp\VSD1A3.tmp\'
Download completed at 09/04/2010 09:36:16
Downloading failed with HRESULT=-2146697211
(09/04/2010 09:36:17) Downloading 'UltiDev Cassini Web Server for ASP.NET 2.0\cassiniexplorersetup.msi' from 'http://crm.ultidev.com/RedistDownload.aspx?CWSEXPGA04' to 'C:\DOCUME~1\Nigel\LOCALS~1\Temp\VSD1A3.tmp\'
Download completed at 09/04/2010 09:36:17
Downloading failed with HRESULT=-2146697211
(09/04/2010 09:36:18) Downloading 'UltiDev Cassini Web Server for ASP.NET 2.0\cassiniexplorersetup.msi' from 'http://crm.ultidev.com/RedistDownload.aspx?CWSEXPGA04' to 'C:\DOCUME~1\Nigel\LOCALS~1\Temp\VSD1A3.tmp\'
Download completed at 09/04/2010 09:36:18
Downloading failed with HRESULT=-2146697211
Ultidev Team
#2 Posted : Friday, April 9, 2010 7:30:25 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 there!

The problem is the missing Windows Scripting Host (WSH) component on the target machine. It is installed by default but sometimes gets removed by administrators as a lock down measure. Please download and install the WSH and try the installation again.

Please let us know if this information was helpful.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
altraxis
#3 Posted : Sunday, April 11, 2010 10:25:05 PM(UTC)
Groups: Member
Joined: 8/27/2009(UTC)
Posts: 8
Location: UK

Thanks for getting back to me.

I tried to install WSH, but it seems I already have a newer version of WSH installed; still same problem.

Looking elswhere
(here)
this seems to suggest that the problem occurs due to a missing GUEST account on the download server.

I tried using the URL shown in the log directly ( http://crm.ultidev.com/R...ownload.aspx?CWSEXPGA04) which gives a response of 'Nice try...'

Is this a security issue of some sort on your server?

Appreciate any help you can give on this.





Ultidev Team
#4 Posted : Monday, April 12, 2010 4:55:39 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 there!

We are sorry - we have misdiagnosed the issue. It appears the MS bootstrapper has failed to download Cassini runtime prerequisites. Sometimes it does it for no discernible reason. Please visit this link (and scroll down a bit) to download Ultidev runtime components as MSI packages. Once you have installed them, Cassini's Visual Studio integration component will not attempt to install them anymore.

Once again we apologize for the earlier error in establishing problem's cause.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
altraxis
#5 Posted : Tuesday, April 13, 2010 12:20:28 AM(UTC)
Groups: Member
Joined: 8/27/2009(UTC)
Posts: 8
Location: UK

Thanks for this.

My problem was to build a downloadable install for my application with a seamless installation of Cassini (if not already installed).

Using VS2005 setup and deployment and marking the pre-requisites as 'download from vendors site' consistently throws up this issue of failing to download Cassini from UltiDev.

The solution I have reached is to mark the pre-requisites a 'download from the same location as the application', I then placed pre-requisites as provided by VS2005 under the download folder on the server. Downloading and running the setup.exe generated by VS2005 resulted in a successful download and install of Cassini plus my application, so problem solved.

It would be convenient for other reasons (security issues) to 'download from vendors site' so, if possible, could you ticket this for another look at your end.

best regards
Ultidev Team
#6 Posted : Tuesday, April 13, 2010 11:27:52 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)
Thank you very much for sharing the solution!

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
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.