Problems with copied project

Got a problem you cannot solve? Try here.
Post Reply
ulrichard
Posts: 150
Joined: Thu Dec 27, 2007 5:45 am
Location: Switzerland
Contact:

Problems with copied project

Post by ulrichard »

Hi,

first I created an IA Project "3dPreview" which I compiled without web updates.
no to not have to start from scratch, I copied all the files and renamed the project to "2dRelease". I changed all the relevant fields : ProductName, ProductVersionm ProductCode, RevisionCode, ...
The new Project has much more files, is compiled as WebDeploy and supports web updates.

Now on machines, which didn't install 3dPreview, the install for 2dRelease works, but on the machines that have 3dPreview installed, the user gets prompted to locate 3dPreview.msi. Of course he didn't find it, so he uninstalled 3dPreview and tried again.
This time he gets an error message saying : "Runtime error in script ... Line11 trying to access an undefined variable UPDATE_CONFIGURED"

I found the place in the updates script where it tries to access UPDATE_CONFIGURED and I don't see where the variable is defined.

I think define the variable the line before would be too simple...?

But more important, why comes the installer into maintenance mode when installing the second product with different name and product code?
BoboEGR
Posts: 2
Joined: Fri May 23, 2008 2:31 am

Post by BoboEGR »

Hi,

have you got an answer for that?

I have the same problem at the moment. Also copied an existing project, but set new uid's for the product and revision.

Any one other ideas?
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Post by Roostar2004 »

When your copied your project did you also change the upgrade product with this code option which is located in the project options?
ulrichard
Posts: 150
Joined: Thu Dec 27, 2007 5:45 am
Location: Switzerland
Contact:

Post by ulrichard »

By diffing the two project files if found one GUID as still being the same. On the GUI I found it as "upgrade product with this code".
Now I changed it and hope...
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

When you copy a project this way, you need to make sure you change all three GUID's present in IA. These GUID's are:

Product Code:
Upgrades Product with Product Code:
Revision Code

You can find all three GUID's in the project settings.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Post Reply