correct method for versioning/dependency - Advanced Installer Community

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!

gattausen
Posts: 13
Joined: Fri Oct 05, 2007 2:53 pm

correct method for versioning/dependency

i'm using advance installer with a single updater.txt
to install a first package and a subset of other packages using
dependency and metod for detached version.

content of updater.txt
;aiu;

[security]
Name=Security_Process
URL=file://\\sd\sd$\updates\nacheos\sec.vbs
Size=751616
RegistryKey=HKLM\SOFTWARE\mito\Nacheo\Security
Version=>1.6

[AVGUpdate]
Name=avgupdate
URL=file://\\sd\sd$\updates\timest\timest.vbs
Size=34523
RegistryKey=HKLM\SOFTWARE\mito\Nacheo\Version
Version=1.21
Depends=Nacheos

[Nacheos]
Name=Full
URL=file://\\sd\sd$\updates\nacheos\beforeUnlock.vbs
Size=34523
RegistryKey=HKLM\SOFTWARE\mito\Nacheo\version
Version=1.2
Depends=security

what do you think about ?
until here ok because my package was installed and two dependent package
was also installed without problem ?

now i'd like to install using same updater.txt an other package (mentioned above)

[ToNacheos]
Name=sblocco
URL=file://\\sd\sd$\updates\nacheos\nacheos.vbs
Size=34523
RegistryKey=HKLM\SOFTWARE\mito\Nacheo\Version
Version=1.3
Depends=AVGUpdate

my new updater.txt as follows....
;aiu;


[security]
Name=Security_Process
URL=file://\\sd\sd$\updates\nacheos\sec.vbs
Size=751616
RegistryKey=HKLM\SOFTWARE\mito\Nacheo\Security
Version=>1.6

[ToNacheos]
Name=sblocco
URL=file://\\sd\sd$\updates\nacheos\nacheos.vbs
Size=34523
RegistryKey=HKLM\SOFTWARE\mito\Nacheo\Version
Version=1.3
Depends=AVGUpdate

[AVGUpdate]
Name=avgupdate
URL=file://\\sd\sd$\updates\timest\timest.vbs
Size=34523
RegistryKey=HKLM\SOFTWARE\mito\Nacheo\Version
Version=1.21
Depends=Nacheos

[Nacheos]
Name=Full
URL=file://\\sd\sd$\updates\nacheos\beforeUnlock.vbs
Size=34523
RegistryKey=HKLM\SOFTWARE\mito\Nacheo\version
Version=1.2
Depends=security

in this case i never can install package sblocco ...!!!
why
i'm using correct method for dependency and/or for detached software...???
any suggestions for versioning ?

sorry but my upload attachment from your web-site does not work !!!!

thx

Max
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: correct method for versioning/dependency

Hi,

Please note that an older update cannot depend on a newer update. Therefore, if the lists of updates in your updates configuration project looks like this:

Code: Select all

security
ToNacheos
AVGUpdate
Nacheos
then the Nacheos update cannot depend on the security update. In this case "security" is the newest update and "Nacheos" is the oldest update.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gattausen
Posts: 13
Joined: Fri Oct 05, 2007 2:53 pm

Re: correct method for versioning/dependency

ok

but now can i add an other new package in this updater.txt

yesterday i try to add a new package but was not installed.
is a correct method ?
how can i do to install other new updates using a unique updater.txt ?

thx

Max
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: correct method for versioning/dependency

Hi,
but now can i add an other new package in this updater.txt
This can be done by using the Updates page in an Updates Configuration Project like explained in the Updates tutorial.
yesterday i try to add a new package but was not installed.
is a correct method ?
Most likely the update was not installed because of the dependencies you are using.
how can i do to install other new updates using a unique updater.txt ?
For this you can follow our Updater tutorial.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”