PDA

View Full Version : distribute exe file


moridh
02-06-2007, 01:16 AM
hi..
after building the exe file, to distribute it do we need to include also all other files used for the progam like the sound and graphics files?

i read somewhere that you can easily distribute your program. make the exe, and distribute. but when i build the exe file, copy it to a different directory and run it, an error occur when the program can't find the files because it looked for the files relative to their previous directory.

kornalius
02-06-2007, 02:09 AM
All the files required by your program will need to be distributed with your .exe files. You need to place them relative to where they were before.

You could also put all these files in a encrypted package file, then you only have one more file to distribute with your .exe.

moridh
02-06-2007, 07:03 AM
meaning if you package it, then you only have to distribute the .exe file along with one other file, which is actually the encrypted collection of all the required files. true?

matteo.m
02-06-2007, 10:41 AM
YES correct, the exe and the .pkg file