Web deploy silent installer and downloadable web media block

Got a problem you cannot solve? Try here.
Post Reply
abdou24
Posts: 28
Joined: Fri Apr 17, 2009 9:05 am

Web deploy silent installer and downloadable web media block

Post by abdou24 »

Hi,

I'm discovering a little bit the web deploy silent installation process.
I've already created a web deploy silent installer and put the files on my webserver, and all the files are downloaded correctly and the installation proceed without problem.
Now, i would like to know, it is possible for the web deploy silent installer to return an error code or error message if the web media block to install is not available by download ?

My tests are made on a machine without internet, to observe how the installer reacts when the web media block files are not accessible on a machine without internet access.
Is there a way to report the missing module when it can't be find from internet ?
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Web deploy silent installer and downloadable web media b

Post by giaviv »

Report to where exactly? What are you trying to do with the error code?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
abdou24
Posts: 28
Joined: Fri Apr 17, 2009 9:05 am

Re: Web deploy silent installer and downloadable web media b

Post by abdou24 »

Ok, here is what i want to know.
When you launch the installer with the UI, if the web data is not available, the installer shows the dialog attached below.

So, how can i do to make my silent installer report the same error? Is there a way to have an exit code ?

Hope i was a little bit clearer than my previous post.

Best regards,
Attachments
RetryDownload.JPG
RetryDownload.JPG (19.47 KiB) Viewed 6839 times
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Web deploy silent installer and downloadable web media b

Post by giaviv »

Hi,

Usually setup bails out the moment an error like this occurs. It doesn’t matter whether the setup is silent or not - it will just bail out (the EXE should return an error code instead of success, of course).

However, if you set ABORTONERROR to FALSE, you can then read ABORTEDONERROR after web media block commands to see if all went well or not (TRUE means an issue occurred).

The help file pre-defined variables topic talks about these variables in detail and does provide usage examples.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
abdou24
Posts: 28
Joined: Fri Apr 17, 2009 9:05 am

Re: Web deploy silent installer and downloadable web media b

Post by abdou24 »

Ok thank you for the hint, i'll read installaware help instructions to make it work.

Best regards,
Post Reply