Do not direct silent install in schedules web update

Got a problem you cannot solve? Try here.
danieltan
Posts: 26
Joined: Tue Jul 07, 2015 9:17 pm

Do not direct silent install in schedules web update

Postby danieltan » Thu Jul 23, 2015 4:14 am

Image

Refer on the above picture, in order to make the installer silent update download require to set Update Packs -> Silent Download =Yes. and I also select the radio button on second selection which enable installer directly download update without showing any dialog for user to click 'download' button.
After I set everything, it seem like the installer still prompt the notify user to download dialog. which totally different what I want.
Scenario 1
1. User finish install v1.0.0
2. Click shortcut update icon into version 1.0.1 (which available to download) and set schedules enable to download update directly
3. Wait for task schedules trigger, the installer still prompt notify user to download

What I did previously?
I deleted all installedupdates.dat in ENGINECACHE before start install v1.0.0

Code: Select all

[Update Packs for Versions]
1.0.0.0=1.0.0.1
[1.0.0.1]
URL=http://localhost/New folder/Test1_1_0_0_1.exe
Description=Update from 1.0.0.0 to 1.0.0.1
Reboot=No
Silent=Yes
Parameters=


anything I still left behind?


FYI: If the installer success update into v1.0.1 (in web update method) but unable to let the installer to silent update download

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Do not direct silent install in schedules web update

Postby FrancescoT » Thu Jul 23, 2015 1:36 pm

Dear Daniel,

the second selection in the InstallAware Wizard dilaog, it still enables the user notification on a "ready to install" update.

You should select the third one if you want no user action.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

danieltan
Posts: 26
Joined: Tue Jul 07, 2015 9:17 pm

Re: Doesnt trigger direct silent install in schedules web up

Postby danieltan » Thu Jul 23, 2015 8:29 pm

FrancescoT wrote:Dear Daniel,

the second selection in the InstallAware Wizard dilaog, it still enables the user notification on a "ready to install" update.

You should select the third one if you want no user action.

Hope this helps you.

Regards


Thank for your reply. Based on previous post.

Perhaps, my question did not state it clear.

What I know the second selection, it enable download update installer in silent mode and it only notify user ready for clicking button to install
while third selection is directly download installer with also directly install into local machine.

Actually I want to go for second selection. Allows to prompt user whether to install downloaded update package.

After play around with the code, I found the "update" script it always default UPDATE_DOWNLOAD always to TRUE even after I did make second
selection in "notification setting" dialog.

How to make 3 variables for UPDATE_DOWNLOAD, UPDATE_INSTALL and UPDATE_AUTO always dependently on user click selection at Notification setting dialog?

Attach with web update script
Attachments
Update Script.zip
(37.15 KiB) Downloaded 326 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Do not direct silent install in schedules web update

Postby FrancescoT » Fri Jul 24, 2015 12:07 pm

Dear Daniel,

probably I am missing the sense of your question, but if you want that independently of what user selected, any selection made through the InstallAware Wizard dialog will act as the second selection ... why don't you remove such controls from the dialog and then force the respective control variables to act as the second selection by default?

So such variables when the script returns from the "update_setup_schedule" dialog should looks like;

- UPDATE_DOWNLOAD = FALSE
- UPDATE_INSTALL = TRUE
- UPDATE_AUTO = FALSE

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 88 guests