Page 1 of 1

Installer error when build within FinalBuilder or command li

Posted: Wed Nov 11, 2015 2:21 pm
by mwilner
Hello,
I am building an IA 15 installer within FinalBuilder (also tried the miabuild.exe with the same effect) and am having problems.
When the previous version of the program is installed the new installer will detect and start the uninstallation process.
Then a dialog pops up and shows an error that will end the installation:
Uninstall.PNG
Uninstall.PNG (22.27 KiB) Viewed 7840 times


The original installer uninstalls the application just fine.
Next the new installer is started to install the application and this error pops up:
Install.PNG
Install.PNG (32.14 KiB) Viewed 7840 times


This also terminates the install and the installation is not complete.

If I run the IA compiler within the IA GUI the installer works fine for uninstalling the old version and installing the new version.
What is happening and how can I overcome this issue?

Best regards,

Re: Installer error when build within FinalBuilder or comman

Posted: Thu Nov 12, 2015 12:52 pm
by FrancescoT
Dear Manfred,

are you able to replicate the same identical issue with a new "Test" project created from scratch?
(just create a new project from the Basic template and then build it without applying any project setting).

...this will tell us if it's a project related issue.

Let me know.

Regards

Re: Installer error when build within FinalBuilder or comman

Posted: Fri Nov 13, 2015 9:34 am
by mwilner
Hello Francesco,
Actually when I am trying to start with a new project I was not able to reproduce this issue but than I noticed that the upgrade GUID was not changed in the build script of FinalBuilder and in my original project I had selected to change the GUID automatically.
Can this be the issue?
IA is usually changing the GUID automatically if you rebuild inside the GUI, correct?
Best regards,

Re: Installer error when build within FinalBuilder or comman

Posted: Fri Nov 13, 2015 12:51 pm
by FrancescoT
Dear Manfred,

it's the "Revision Code" that gets automatically updated every time you rebuild the setup (if the option is active) and not the "UpgradeCode".

Regards

Re: Installer error when build within FinalBuilder or comman

Posted: Wed Nov 18, 2015 3:15 pm
by mwilner
Hi Francesco,
I have tried compiling the project with miabuild on the command line and used the following command:
D:\Jenkins\Workspace\EpDriver\InstallAware>miabuild treefrog.mpr /r ZSU_VERSION=1.1.9.1187 VERSION_NAME=v1-1-9-1187 SIGNING_DIR=D:\Jenkins\Workspace\CodeSign SOURCEROOT=D:\Jenkins\Workspace\EpDriver

Interestingly when comparing this build with the build that was build with the GUI it did un-install the previous and install correctly the new but the UpgradeCode in the Property looking at the MSI with Orca is the same. I can't find the Revision Code that is set in the project. The UpgradeCode in the Orca Property table is the same in both installations.

Can you shed some light on this?

Best regards,

Re: Installer error when build within FinalBuilder or comman

Posted: Thu Nov 19, 2015 12:18 pm
by FrancescoT
Dear Manfred,

of course the "UpgradeCode" will be identical but not the "Revision Code" (if the relative option is checked).

revision code in orca.png
revision code in orca.png (84.78 KiB) Viewed 7782 times

Hope this helps you.

Regards

Re: Installer error when build within FinalBuilder or comman

Posted: Thu Nov 19, 2015 2:00 pm
by mwilner
Thank you, Francesco. Yes this helps :)

As I am still struggling with my original issue that of the installer build with FinalBuilder causing this error would you have any idea why compiling with the IA GUI the installer works but calling the miabuild from FinalBuilder will cause this strange access error that seems to pop up out of the blue. Especially when you go into the registry and check this specific key there are already entries from the installer in it.

It is clearly not a problem with the IA script as it will produce a proper installer but has something to do with the command line or how FB is calling IA.

Best regards,

Re: Installer error when build within FinalBuilder or comman

Posted: Fri Nov 20, 2015 11:17 am
by FrancescoT
Dear Manfred,

unfortunately, I suppose it's due the way FinalBuilder uses ("internally") to call an external process.

Regards