cadull
Posts: 12
Joined: Thu Feb 27, 2020 11:09 pm

NewPrerequisite: registry value does not exist

I'm adding a number of new prerequisites from the command line, each having three install conditions. Two are covered by the search types FileVersion and RegValue, but how can I check that a registry value does not exist?
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: NewPrerequisite: registry value does not exist

Hello,

I have done some testing and it looks like the "Registry value does not exist" criteria is not currently available in our command line support.

I have added this enhancement on our TODO list and hopefully it will be available in a future version of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cadull
Posts: 12
Joined: Thu Feb 27, 2020 11:09 pm

Re: NewPrerequisite: registry value does not exist

Thanks Catalin, I think I can work around this limitation by moving the prerequisite from preinstall to postinstall and establishing searchable criteria during the install.
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: NewPrerequisite: registry value does not exist

You are always welcome!
I think I can work around this limitation by moving the prerequisite from preinstall to postinstall and establishing searchable criteria during the install.
I believe the easiest workaround here would be to manually add the criteria in your project for each of your prerequisite. I am not quite sure changing the prerequisite sequence will help here.

Please let me know if there is anything else I could help you with and I will gladly assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: NewPrerequisite: registry value does not exist

Hello,

This improvement has been added in version 22.7 of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cadull
Posts: 12
Joined: Thu Feb 27, 2020 11:09 pm

Re: NewPrerequisite: registry value does not exist

Thanks Catalin.
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: NewPrerequisite: registry value does not exist

You are always welcome! :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”