Kleetus
Posts: 18
Joined: Thu Oct 20, 2011 10:19 am

Could not copy template file

Hello,

I'm getting the following error when I build my project:

Could not copy template file from 'C:\Program Files (x86)\Advanced Installer 8.8.1\templates\template.msi' to 'C:\Users\John\Documents\Advanced Installer\Projects\Crysis 2 \Setup Files\Crysis 21\Media.msi'.

Error: The system cannot find the path specified.


The file exists, and I've never had this problem with previous projects built the exact same way.

I've tried reinstalling the program, and copying the template files to the project directory with the correct folder structure to no avail.

I'm not on a shared network, I'm the admin and the I'm using the system main drive for the project.

I've tried another folder name for the project, and that doesn't help.

I can test the UI and that's OK, it's just building the project.

Also, I'm not sure if it's supposed to be like this, but my Projects folder is read only?

Thank You.


EDIT: I recreated the project and used a different name, C instead of Crysis 2, and it builds OK.

I'd still like to know why there was an issue with the original project name?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Could not copy template file

Hello,

I noticed a blank space after "Crysis 2" folder name in the path your mentioned:

Code: Select all

'C:\Users\John\Documents\Advanced Installer\Projects\Crysis 2 \Setup Files\Crysis 21\Media.msi'
Is this the cause of the error?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kleetus
Posts: 18
Joined: Thu Oct 20, 2011 10:19 am

Re: Could not copy template file

Hello Mihai,

That must be it, nicely spotted, I didn't even notice the space.

As always, thanks for your support.

Return to “Common Problems”