Issues with Included Scripts when moving Projects

Got a problem you cannot solve? Try here.
Post Reply
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Issues with Included Scripts when moving Projects

Post 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?
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Issues with Included Scripts when moving Projects

Post 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?
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Re: Issues with Included Scripts when moving Projects

Post 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
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Issues with Included Scripts when moving Projects

Post by mills »

Are you able to update the paths, then?

Relative paths are supported in IA 10.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Re: Issues with Included Scripts when moving Projects

Post 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?
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Issues with Included Scripts when moving Projects

Post by mills »

Look in the project .mpr file...
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Re: Issues with Included Scripts when moving Projects

Post 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.
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Issues with Included Scripts when moving Projects

Post 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
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Re: Issues with Included Scripts when moving Projects

Post by Roostar2004 »

No they do not.
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Issues with Included Scripts when moving Projects

Post 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.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Post Reply