Page 1 of 1

Problems with copied project

Posted: Wed May 14, 2008 1:54 am
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?

Posted: Fri May 23, 2008 2:40 am
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?

Posted: Fri May 23, 2008 5:30 pm
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?

Posted: Fri May 30, 2008 3:09 am
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...

Posted: Wed Jun 04, 2008 7:09 pm
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.