Page 1 of 1
Issues with Included Scripts when moving Projects
Posted: Mon Nov 08, 2010 8:39 am
by Roostar2004
Our IT department recently moved all of the installaware project from one server to another and now none of my prjects will build. I believe this is due to the setup looking for the "included" scripts in the previous location of the project. Is there a way that I can change the sepecified path of these scripts without having to remove and add them from all of my projects?
Re: Issues with Included Scripts when moving Projects
Posted: Mon Nov 08, 2010 9:41 am
by bokkie
I created a simple script and added it to a test project. It was saved in the same folder as the project file itself. When I edited the mpr file I can see the name of the script file inside it and there's no pathname involved. In other words, the script is in the same place as the mpr file and without a pathname it should find it when the project is loaded. Have you looked in the mpr file to see if there's an inconsistency?
Re: Issues with Included Scripts when moving Projects
Posted: Tue Nov 16, 2010 5:07 pm
by Roostar2004
I have looked but did not see any problems. I can see that the mpr has the mia for the main project in the right place it is the other scripts that are not right.
The scripts that I am talking about are the runtime scripts such as .NET 3.5
Re: Issues with Included Scripts when moving Projects
Posted: Tue Nov 16, 2010 7:21 pm
by mills
Are you able to update the paths, then?
Relative paths are supported in IA 10.
Re: Issues with Included Scripts when moving Projects
Posted: Tue Nov 16, 2010 7:40 pm
by Roostar2004
The problem that I am having is where do you find the path for the included scripts? I know where the path for the main .mia is but how am I able to see where the runtime scripts are being called from?
Re: Issues with Included Scripts when moving Projects
Posted: Wed Nov 24, 2010 3:02 pm
by mills
Look in the project .mpr file...
Re: Issues with Included Scripts when moving Projects
Posted: Mon Nov 29, 2010 7:22 am
by Roostar2004
This is was the .mpr has in it:
- \\Computer\Install-Aware Projects\Mt Project x64\My Project x64.mia
componentstree.dfm
componentstree.dfm.miaf
destination.dfm
destination.dfm.miaf
finish.dfm
finish.dfm.miaf
licensecheck.dfm
licensecheck.dfm.miaf
maintenance.dfm
maintenance.dfm.miaf
prereq.dfm
prereq.dfm.miaf
progress.dfm
progress.dfm.miaf
progressprereq.dfm
progressprereq.dfm.miaf
readme.dfm
readme.dfm.miaf
registration.dfm
registration.dfm.miaf
registrationwithserial.dfm
registrationwithserial.dfm.miaf
setuptype.dfm
setuptype.dfm.miaf
startinstallation.dfm
startinstallation.dfm.miaf
startmenu.dfm
startmenu.dfm.miaf
welcome.dfm
welcome.dfm.miaf
wizard.dfm
wizard.dfm.miaf
$
icon.ico
license.rtf
$
No where in the .mpr does it even list the scripts that are included in the project let alone the path do them.
Re: Issues with Included Scripts when moving Projects
Posted: Tue Nov 30, 2010 3:26 pm
by mills
They don't appear at the bottom of the .mpr? Something like:
...
$
$
Service Pack
FALSE
FALSE
FALSE
TRUE
TRUE
FALSE
FALSE
FALSE
checkmsi31.mia
setupmsi31.mia
checknet2sp2.mia
setupnet2sp2.mia
$
FALSE
FALSE
FALSE
TRUE
FALSE
Re: Issues with Included Scripts when moving Projects
Posted: Wed Dec 01, 2010 10:58 am
by Roostar2004
No they do not.
Re: Issues with Included Scripts when moving Projects
Posted: Wed Dec 01, 2010 3:31 pm
by mills
The only time the added runtime scripts aren't appearing in the .mpr for me is if I haven't saved it, yet. Tested in IA 9R2 SP3 and IA 10.