Installer error when build within FinalBuilder or command li

Got a problem you cannot solve? Try here.
Post Reply
mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Installer error when build within FinalBuilder or command li

Post 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 8323 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 8323 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,
Manfred Wilner
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installer error when build within FinalBuilder or comman

Post 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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Re: Installer error when build within FinalBuilder or comman

Post 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,
Manfred Wilner
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installer error when build within FinalBuilder or comman

Post 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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Re: Installer error when build within FinalBuilder or comman

Post 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,
Manfred Wilner
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installer error when build within FinalBuilder or comman

Post 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 8265 times
Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Re: Installer error when build within FinalBuilder or comman

Post 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,
Manfred Wilner
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installer error when build within FinalBuilder or comman

Post by FrancescoT »

Dear Manfred,

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

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply