I am trying to create an executable version of the application that I created in vb6. I was wondering why when I go to install the program on a machine, the avi files aren't included in the folder. Does anyone know why the avi files won't copy over.
Printable View
I am trying to create an executable version of the application that I created in vb6. I was wondering why when I go to install the program on a machine, the avi files aren't included in the folder. Does anyone know why the avi files won't copy over.
Few questions:
- what's "AVI files" got to do with "creating executable" ?
- did you create a distribution package for your program ?
- did you add (manually) all necessary files that are not referenced in your project to your distribution?
Are the paths you use for the AVI's static or dynamic?
eg. "C:\Folder\Film.avi" would be a static path and App.Path & "\Film.avi" a dynamic one
Thread Moved
What setup packager program are you using? You need to include the extra resources first or they wont get deployed with the installer.
You could put them in a resource file as a custom resource:
http://support.microsoft.com/kb/q194409/
Yes but then you need to also extract them from the resource for use in your program. By simply adding them to the setup package you dont have to add/write any extra code.
I like them for my program updater as any new files are contained in the exe. I have software that contains a lot of sample files, price lists, rtf etc. Once the files are edited they are then not sample files any longer. When my exe starts if they are not found they are extracted as not overwrite users filesQuote:
Originally Posted by RobDog888
To each his own. But if you have to update a resource then you have to update and recompile the exe for something trival.