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!

andrea.parisi
Posts: 5
Joined: Mon Oct 12, 2015 8:19 am

Problem with Updates and Target condition

I have created an updater software that I have installed on our workstations, the updater run a task with administrator account.
After I have created an Updates Configuration project, but this not work if I set a target condition. Without the target condition the updter run correctly an install the new release of the software.
I would like install "My Software" only if it's present an oldest release on the workstation. Not for all workstations.

How can I check the Target condition?

The updater task return always the code 0xE00000011, we have an enterprise license.

;aiu;

[My Software]
Name = My Software
ProductVersion = 2.0.2
URL = http://[our updates domain]/mysoftware/SetupMySoftware.msi
Size = 3358720
MD5 = d40b67f274a0abd18f3fd2d0876c02a9
ServerFileName = SetupMySoftware.msi
Flags = SilentInstall
RegistryKey = HKUD\Software\Cembre S.p.A.\My Software\Version
Version = 2.0.2
UpdatedApplications = My Software[1.0-2.0.2)


Thanks
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Problem with Updates and Target condition

Hi and welcome to Advanced Installer forums,

I replied to your e-mail, please let's avoid the duplicate and continue the discussion there. If you want, you can post the end solution here for others to see.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
andrea.parisi
Posts: 5
Joined: Mon Oct 12, 2015 8:19 am

Re: Problem with Updates and Target condition

I know the mean of the error.

I would like install the same updater for every workstation and for all our internal application. With only one updates project like this
;aiu;

[My Software]
Name = My Software
ProductVersion = 2.0.3
URL = http://[our updates domain]/mysoftware/SetupMySoftware.msi
Size = 3358720
MD5 = d40b67f274a0abd18f3fd2d0876c02a9
ServerFileName = SetupMySoftware.msi
Flags = SilentInstall
RegistryKey = HKUD\Software\Cembre S.p.A.\My Software\Version
Version = 2.0.2
UpdatedApplications = My Software[1.0-2.0.2)

[My Software]
Name = Other Software
ProductVersion = 2.0.9
URL = http://[our updates domain]/OtherSoftware.msi
Size = 3358720
MD5 = d40b67f274a0abd18f3fd2d0876c02a9
ServerFileName = OtherSoftware.msi
Flags = SilentInstall
RegistryKey = HKUD\Software\Cembre S.p.A.\ OtherSoftware \Version
Version = 2.0.9
UpdatedApplications = My Software[1.0-2.0.9)

Before task execution

Workstation01
Installed Software as appear in Control Panel:
• Generic Updater Software
• My Software 1.0.1
• Other Software 2.0.0 Workstation02
Installed Software as appear in Control Panel:
• Generic Updater Software
• Other Software 2.0.7 Workstation03
Installed Software as appear in Control Panel:
• Generic Updater Software
• My Software 1.0.1

After task execution

Workstation01
Installed Software as appear in Control Panel:
• Generic Updater Software
• My Software 2.0.3
• Other Software 2.0.9 Workstation02
Installed Software as appear in Control Panel:
• Generic Updater Software
• Other Software 2.0.9 Workstation03
Installed Software as appear in Control Panel:
• Generic Updater Software
• My Software 2.0.3

So:
1. every software must be updated (only if there is a previous version)
2. not all software are installed in every machine

There’s a method for do something like this?

Return to “Building Installers”