We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Unable to connect to revocation server

Hello,

I have built an installer which checks for updates, during the update run, I get the following dialog:
UpdateFailure.PNG
UpdateFailure.PNG (9.65 KiB) Viewed 7505 times

Here is my updater file (from the machine it is installed on)
Manager Updater.ini
(393 Bytes) Downloaded 440 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Unable to connect to revocation server

NOTE: the url in the ini file points to a valid file.

When I put this url into a browser on the machine that the updater is running on... the link resolves and it downloads

URL=https://int.cetrus.com/registry/download/3_0_Manager
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Unable to connect to revocation server

Hello,

I have tested your scenario but I cannot replicate it. However, the following error occurred:
UpdaterError.png
UpdaterError.png (9.7 KiB) Viewed 7493 times
Please take a look on the Using The Auto Updater article that will guide you step by step in creating and maintaining an install package that uses the Advanced Updater.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Unable to connect to revocation server

Thanks...

When reading the article, I found this:

Go to the Product Details Tab page and increase the "Product Version" (for example you can set it to 2.0.0).

When selecting another page you will be prompted about the update method. Answer Generate new in order to enable the automated upgrade feature.

My product version is incremented during the build process, will a New Product Code be generated in that scenario?
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Unable to connect to revocation server

Additionally,

Why was the "revocation" message generated? There has to be a reason why this dialog was produced.

Thanks
Mike
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Unable to connect to revocation server

Lastly,

I believe that I have done everything stated in the article... but I am still experiencing problems.

I am going to send you my updater and the install projects so you can take a look at them.

Mike
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Unable to connect to revocation server

My project is too large to attach here...

I will share on Google Docs
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Unable to connect to revocation server

Here is another update:

In both scenarios described below, the machine is wiped clean and a fresh install is performed


Scenario 1: Run the updater via a windows scheduled task:
Task is set to run every 2 weeks, at 9:30am on Tuesdays.
I invoke the updater by changing the time on the machine and this is what I get:
(NOTE: After I get this failure, manually running the updater fails every time with this same error )
UpdateFailure.PNG
UpdateFailure.PNG (9.65 KiB) Viewed 7484 times

Scenario 2: MANUALLY run the updater from the install directory
Double click on updater in the installed directory:
This is what I get:
( NOTE: Hitting cancel and then running the updater again produces the same error as in scenario 1)
Update_ManuallyRunningUpdater.PNG
Update_ManuallyRunningUpdater.PNG (15.7 KiB) Viewed 7484 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Unable to connect to revocation server

Hello,
My product version is incremented during the build process, will a New Product Code be generated in that scenario?
The Set Version Command will set the Product Version. Its equivalent UI option is “Product Version” in the Product Details Tab page. A new Product Code will be generated if the new version is different from the old one, unless the -noprodcode option was used.
Scenario 1: Run the updater via a windows scheduled task:
Task is set to run every 2 weeks, at 9:30am on Tuesdays.
I invoke the updater by changing the time on the machine and this is what I get:
(NOTE: After I get this failure, manually running the updater fails every time with this same error )
This is happening because you changed the machine date and time and invalidated all the certificates. The encountered behaviour is correct. Note that the error is a generic one and it is given by the Windows. Most likely, when you run manually the Updater.exe, you didn't revert the date and time.

Please note that there is no need to change the date and time. You can run manually the task from the Task Scheduler view. When running manually the task or run the updater through its shortcut everything is working as expected.

Please let me know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”