cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Bhaskar_Sengupt
Level 2

Content Files from Project Output Not Part of MSI

We have a web application for which we are trying to setup the installation project. Trying to include two things in the Project Assistant, first is the Primary Output and second the Content Files from the Project.

When we build the application the MSI gets built fine. But when I move that MSI to the server and try to install it, it errors saying it could not find all those content files on the local folder where the MSI is currently located on the server.

We are confused because previously when we used the MS build vdproj project, all the content files were part of the MSI which does not seem to be the case here.

Please let me know if we are missing some setting here or there is another way to do this.

Thanks.
0 Kudos
(1) Reply
chiranjeevi
Level 7 Flexeran
Level 7 Flexeran

Hello,

To fix the relative paths for file content to be copied by the Install Shield Limited Edition to the output directory ( Visual Studio 2010/2012 ) follow below Steps:

1>Expand your install project in the Solution Explorer so you see the 1,2,3,4,5,6 sections
2>Expand '2' and double click on 'Files' You will see a four panel page: with 'Source computer's files' and 'Destination computer's files'
3>Delete your hard coded paths and files from the 'Destination computer's files'
4>Click in the top left panel, on the project that has your files as 'Content Files'
5>the top right panel will show 'Content Files from MyProject'
6>click and drag this to the bottom right panel (the 'Destination computer's files')

Go back into your project and make sure all your files you want copied have properties: Build Action=Content and Copy to output directory=Copy Always

Hope this helps.

Thanks
Chiranjeevi
0 Kudos