Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How do i make installer?
 

How do i make installer?

hello to all,

how do i make my program an installer? In the debug directory i had images which i used in the program....
when i click the publish i did create the installer and installs it. when i run the application it gives me an error message "Could not a part of the path 'C: Documents and settings.....\Images' ". The images folder is the folder where i saved all the images in my application.


thanks..any help is appreciated.
  • Moved byRiquel_DongMSFTThursday, March 12, 2009 5:54 AM (Moved from Visual Basic Express Edition to ClickOnce and Setup & Deployment Projects)
  •  
cutieann12  Monday, March 09, 2009 4:29 PM
Hi, You need to add the images to your Resources, ClickOnce won't install the images unless you add them to the resources,or you can also make an installer with NSIS or Inno, i tend to use NSIS but both are good, hope this helps.

13 year old programmer, web programmer and designer - http://maddogsoftware.co.uk
dom96  Monday, March 09, 2009 5:59 PM
hello, i've tried putting the images as a resource but unfornately i cannot add them as a resource..i have Images folder which contains different folder and each folder has pictures in it...
cutieann12  Tuesday, March 10, 2009 8:53 AM
If you add them as a resource "From Existing File" they are part of the app, and the path to the image does not matter. Sounds like you have added the path to the image as a String Resource.
Right click on your app's name in Solution Explorer, click the Resources Tab, then click the down arrowto the right where it says Add Resource. Click on Add Existing File...
Browse to the folder for your images, click on the images you want, and they are added to your app.
jwavila  Tuesday, March 10, 2009 3:17 PM
but the problem is i have more than 100 images so if i would add them i would have many images inside the resource folder
cutieann12  Wednesday, March 11, 2009 5:45 AM
There is another solution. do not add them in resource, instead add them to your project and set build action to content and copy to output property to copy always.

Regards,
Haris Umer

.::AlwayX A LearneR::.
Haris Umer  Wednesday, August 12, 2009 10:29 AM
Hi. did you check? does that work?

Regards,
Haris Umer

.::AlwayX A LearneR::.
Haris Umer  Thursday, August 13, 2009 9:28 AM

You can use google to search for other answers

Custom Search

More Threads

• Simple Setup & Deploy
• Possible to call a script from ClickOnce Deployment?
• VS 2005 applet deployment
• Different problem 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'c:\ProgramFiles\Microsoft SDKs\Windows\v6.0A\Bootstrapper\'
• Signing a setup and deployment project
• OS version check launch condition
• Streaming Files from Binary Files Table in MSM
• No touch deployment question
• Installing Multiple Instances of Project
• Serialization Forms