Click to See Complete Forum and Search --> : Settin up folders for install
robvr6
Jan 16th, 2005, 01:16 PM
Hi all is it possible to create the folders that are required when setting up an installer for your app. I want to create a folder in program files and also a folder within that folder. I have been trying this all day and it works fine on one Pc but when I try it on others I get the message
Setup cannot continue because some system files are out of date on your system. Click OK if you would like setup to update these files for you now. You will need to restart Windows before you can run setup again. Click cancel to exit setup without updating system files.
I have tried rebooting but keep getting the same - any ideas??
Thanks
Rob
Joacim Andersson
Jan 16th, 2005, 01:19 PM
This is a known bug with the P&DW. May I suggest using another installer. InnoSetup (http://www.innosetup.com) for example is great and free.
robvr6
Jan 16th, 2005, 01:50 PM
Do you think it was that because I thought I wasn't doing something right. I'm gonna try that Inno setup now.
Also will I be able to add files that are required for my interface such as .swf files?
Thanks
Rob
Joacim Andersson
Jan 16th, 2005, 02:20 PM
Yes you can do pretty much anything with InnoSetup. Including customizing the pages in the Setup Wizard that is created.
robvr6
Jan 16th, 2005, 02:39 PM
It looks a bit complicated is there any wizards on it?
Joacim Andersson
Jan 16th, 2005, 02:52 PM
There is a FAQ on how to create installation packages for a VB program. There are also a graphical GUI that someone else has made for it. A link is available somewhere on the site. But believe me, if you take the time to learn how to use it you will NEVER use the Package & Deployment Wizard again.
dglienna
Jan 16th, 2005, 03:28 PM
most people switch after they find a limit to what the P&D program does. I have faith that it will work for my new project, but I won't know until I deploy it. So far, I'm 2 for 2 successes.
You could always have the progam create a folder and move the files there if it doesn't find them in the right place.
robvr6
Jan 16th, 2005, 04:23 PM
I get the programcompiled fine using inno but as soon as my program has installed I get the error message
Component 'COMDLG.OCX' or one of its dependencies not correctly registered: a file is missing or invalid
Any suggestions anyone
Thanks
ROb
Joacim Andersson
Jan 16th, 2005, 04:49 PM
Well, did you include comdlg.ocx in the script? You need to add it if you use the common dialog control in your application. When you used the P&DW it created a setup.lst file with the files you need to add. Just a warning NEVER include the VB runtime files from your System directory. Always use the redistribution package for VB6 that is available from Microsoft. Install does files in it's own folder and refer to them from your setup script.
dglienna
Jan 16th, 2005, 05:25 PM
try registering it.
RobDog888
Jan 16th, 2005, 08:51 PM
P&D is ok for basic programs that do not need to much customization
during the installation process. Check out the links in this thread (http://www.vbforums.com/showthread.php?t=315968) for directions on including system files and MDAC.
HTH
Joacim Andersson
Jan 16th, 2005, 08:56 PM
No! The error he gets he will always get on those machines giving it. It will for example happen if Windows isn't installed on C:
randem
Jan 23rd, 2005, 02:29 AM
robvr6,
If you are going to use Inno Setup, Use ********** (http://www.**********.com/**********.html) to help create your starter script. It will get your apps dependencies for you and more...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.