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!

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: 7853
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: 7853
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: 7853
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: 7853
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”