ybe
Posts: 14
Joined: Fri Oct 09, 2020 9:27 am

Why is my password changed during silent installer?

Mon Feb 15, 2021 1:31 pm

When i try to run a silent installation of my application through PowerShell, I can see in the install log that Advanced Installer adds spaces in my password.

I have a script with PowerShell commands through which I run the silent install. Before I pass the password parameter to the silent installer I Base64 encrypt the password:

So the original password: testing
Becomes this base64 encrypted password: dGVzdGluZw==

Because of the "==" in the end, the password passed to our Custom Action is "dGVzdGluZw= =". For some reason a space is added between the two "=".

Do you have any idea why this happens?

Catalin
Posts: 6544
Joined: Wed Jun 13, 2018 7:49 am

Re: Why is my password changed during silent installer?

Wed Feb 17, 2021 2:33 pm

Hello,

Could you please let me know what Advanced Installer version you are using?

I am asking this because I have reported a similar issue in the past and it has been fixed in version 17.2 of Advanced Installer:

Advanced Installer 17.2 Release Notes
The registry value is not correctly written in registries during silent installation
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

ybe
Posts: 14
Joined: Fri Oct 09, 2020 9:27 am

Re: Why is my password changed during silent installer?

Mon Feb 22, 2021 11:18 am

I'm using Advanced Installer 17.0

Catalin
Posts: 6544
Joined: Wed Jun 13, 2018 7:49 am

Re: Why is my password changed during silent installer?

Mon Feb 22, 2021 2:38 pm

Hello,

Could you please download a later version of Advanced Installer, retest this scenario and let me know if everything works as expected?

As mentioned above, this issue should have been fixed in version 17.2.

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

Return to “Building Installers”