"The Access Code is Invalid" when changing any msi property - Advanced Installer Community
ayman
Posts: 7
Joined: Fri Mar 09, 2012 2:47 am

"The Access Code is Invalid" when changing any msi property

Hi,

I'm using "Mixed 32/64-bi matching the platform" package type, normally, the installation is OK when I launch it via the exe. However, [after compiling the package], if I manually change any install property (i have my custom properties embedded in the msi and my custom tool to change it, as I don't want to recompile the package for a simple change), the install will fail with error "The Access Code is Invalid" if launched via setup.exe, but works fine if launched from the msi directly.
Is this a normal behavior ?! any help on how to overcome this issue is appreciated.

(AI v8.8)

Thanks.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: "The Access Code is Invalid" when changing any msi prope

Hello,

Usually this error occurs when the signature from the .CAB or .MSI doesn't coincide with the one from the .EXE.
You can either sign digitally your installation package at the end, when no change to the related properties will be made, or you can perform installation changes and store them as a transforms of the initial MSI.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”