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

Re: upgrading service now shows two versions in programs and features

Catalin

we are in the same boat... working from home... don't you love this stuff ?

Anyway, I am going to do the following:
-
will rem out the build steps that automatically rev version number and product code on our build server
MANUALLY set the version number in the .aip file
run a build and share the msi file on your account
I will send you the .aip file with changes
I will change the version number and product code in the .aip file
I will send you the .aip file with changes
run a build and share the msi file on your account

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

Re: upgrading service now shows two versions in programs and features

here are the 4.3.44.0 changes
-
Version
AI_4.3.44.0_version.PNG
AI_4.3.44.0_version.PNG (2.09 KiB) Viewed 16246 times
-
-
Product code
AI_4.3.44.0_ProductCode.PNG
AI_4.3.44.0_ProductCode.PNG (4.65 KiB) Viewed 16246 times
-
-
Differences in .aip file
AI_4.3.44.0_aip_differences.PNG
AI_4.3.44.0_aip_differences.PNG (17.33 KiB) Viewed 16246 times
-
-
and of course the .aip file is attached.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: upgrading service now shows two versions in programs and features

here is the 4.3.44.0 .aip file (that last post didn't catch it for some reason )
Attachments
AgentServiceInstaller.aip
(65 KiB) Downloaded 683 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: upgrading service now shows two versions in programs and features

here are the 4.3.45.0 changes
-
version number:
AI_4.3.45.0_version.PNG
AI_4.3.45.0_version.PNG (1.97 KiB) Viewed 16244 times
-
-
Product code
AI_4.3.45.0_ProductCode.PNG
AI_4.3.45.0_ProductCode.PNG (4.59 KiB) Viewed 16244 times
-
-
differences in .aip file
AI_4.3.45.0_aip_differences.PNG
AI_4.3.45.0_aip_differences.PNG (14.75 KiB) Viewed 16244 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: upgrading service now shows two versions in programs and features

and of course the 4.3.45.0 .aip file
Attachments
AgentServiceInstaller.aip
(65 KiB) Downloaded 805 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: upgrading service now shows two versions in programs and features

I have also updated your account so you can download the agent service and install it
Please install 4.3.44.0.install.47
-
then set the update options like I outlined in a previous post in this thread and 4.3.45.0 will auto update

-
-
AI_Installs.PNG
AI_Installs.PNG (4.41 KiB) Viewed 16241 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: upgrading service now shows two versions in programs and features

is this enough information? Do you need anything else?
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: upgrading service now shows two versions in programs and features

Is there anything else you need?
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: upgrading service now shows two versions in programs and features

Hello Mike,
we are in the same boat... working from home... don't you love this stuff ?
I do, indeed, started to like this :D
Is there anything else you need?
If possible, could you please forward me the log file for the upgrade process? I would like to first have a look over the log file before starting to test.

If I will not find enough information from the log file, I will start the new tests with the newer resources.

Looking forward to hearing from you.

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

Re: upgrading service now shows two versions in programs and features

Catalin,

Please reproduce this on your end, as I think you have more resources to debug what is happening during the install process than I do and the log file on your machine will contain information that is applicable to the upgrade failure.

Thanks
Mike
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: upgrading service now shows two versions in programs and features

Hello Mike,

I have to admit that I have had some issues with installing the Manager application on the server VM I had at work (using Remote Desktop Connection).

I now have configured a new VM on my laptop (Windows Server 2019) and everything worked as expected (it installed successfully).

I have one question, though. For some reason, it seemed that the updater did not kick it.

I have installed the Manager on the Server VM, then installed the Agent on the Desktop VM --> stopped the service --> modified the .XML file --> waited for the updater to kick in, but it never did. Could you please make sure that everything is working as expected on your end (e.g. the higher version is uploaded on the server). Or perhaps you have missed to mention a step?

Anyway, besides that, out of curiosity, I have manually tested the upgrade scenario. I simply copied the higher version on my VM and deployed it. In the end, the version was upgraded and only one entry (4.3.45.0) was shown in Control Panel.

I am looking forward to your reply so I can test this scenario once again.

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

Re: upgrading service now shows two versions in programs and features

Catalin,

Thanks for testing... much appreciated.

Your manager is not showing up on the server... which means I think I might have forgot to tell you to use server ID 4
and the Manager is using the wrong server.

Please stop the manager service,
edit the Manager_Settings.xml (in the Manager Settings directory) so it uses the correct server:

<Details id="4" port="443" url="" />

Then
restart the Manager Service,
install Agent 4.3.44.0.install.47,
modify the update options
-
then the agent service should update

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

Re: upgrading service now shows two versions in programs and features

I logged in today... your manager is still not running correctly - did you change the server ID?
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: upgrading service now shows two versions in programs and features

Hello Mike,

I have reverted the VMs and retested this scenario, unfortunately to no avail.

So, I will elaborate the steps I've taken:

- installed the manager on the Win Server VM. When asked, I have provided the ID 4 (this is how I proceeded the other time I've tested this as well), as can be seen in the following screenshot:

ServerID.PNG
ServerID.PNG (404.09 KiB) Viewed 16199 times

Additionally, I have checked the Settings.xml file and I could see that the ID was set to 4.

The service installed correctly.

- after doing so, I have copied the 4.3.44 version to my Win10 VM. Deployed it, provided the name of the server VM and it installed as expected.

- went to services.msc and stopped the "Cetrus Agent Service 43" service

- went to the "Settings" folder in the installation location and modified the "Agent_Settings.xml" file, as it follows:
settingsXML.PNG
settingsXML.PNG (116.95 KiB) Viewed 16199 times

As you could see in the screenshot, the time of that machine was 8:37 AM, therefore I have configured the XML file as it follows:

Code: Select all

<Updater day="3" hour="8" minute="40" />
as per my understanding:

- Sunday = 0; Monday = 1; Tuesday = 2; Today = 3

- 8 AM translates to hour=8

- minutes=40

I have then restarted the service and waited the 3 minutes. Unfortunately, the update did not kick in.

Could you please let me know if I'm misunderstading something here?

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

Re: upgrading service now shows two versions in programs and features

Catalin,

It seems like you have everything set up correctly.
-
What is strange, I see the manager, but your agent computer is NOT showing up (which means the manager may not be talking to server or agent may not be talking to manager)
-
AI_noAgents.PNG
AI_noAgents.PNG (13.58 KiB) Viewed 16183 times
-
-
Additionally, I am still unable to communicate with the manager ( which leads me to believe the manager is not talking to server )
-
AI_noManagerConnectionWithServer.PNG
AI_noManagerConnectionWithServer.PNG (19.26 KiB) Viewed 16184 times
-
Please check the Manager's Logs directory for an Error.log file and attach it so I can see what the problem may be
-
Thanks
Mike

Return to “Building Installers”