Hello,
I have successfully built my first setup (using AI 7.0.1 Enterprise Version). I installed this first version 1.0 with no difficulty. I then created a major upgrade 2.0 (with a new Prodcut Code) and installed it over the existing version (Ver 1.0). This installation also, seemingly, went through without a hitch. However, when I launched my application my PC simply crashed and would reboot on its own. After the forced reboot, the application worked fine.
My setting for Reboot Prompts is "Prompt for reboot when required". I tried "Force Reboot after install" but it didn't work. In this case also, even after AI forced a reboot, the application crashed and the PC was rebooted. Only after that did it work.
This problem does not arise if I manually uninstall Ver 1.0 and then install Ver 2.0. It happens when I try to install Ver 2.0 when Ver 1.0 is already installed.
After a while, I figured out that one of the strong-named assemblies in the GAC was getting uninstalled (since the old version first uninstalls) but was not getting re-installed when installing the new version. Both installations use the same version of this assembly.
On one of the forum threads I came across a similar problem, the solution offered was to check the "Ensure that this file
overwrites any installed target file" option in the Version tab of the "Edit File" dialog. I have tried this but with no success.
I've taken the following steps to add the assembly:
(1) Created a temp Folder in Files and Folders called "GAC" and added the assembly to this folder.
(2) I have set the "Ensure that this file overwrites any installed target file" in the "Version" tab
(3) In the "Assemblies" page, I've added this assembly. For Destination, I've selected "Install in Global Assembly Cache"
and selected selected ".NET Assembly" as type
If I install the same assembly in the Application Folder in Program Files, it works! Unfortunately, I need the assembly to reside in GAC.
What is it that I am doing wrong? Looking forward to your assistance...
Thanks & Regards,
Sandy
FOLLOW US
Get the latest news in Application Packaging