|
-
Jan 16th, 2005, 01:16 PM
#1
Thread Starter
Hyperactive Member
Settin up folders for install
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
-
Jan 16th, 2005, 01:19 PM
#2
Re: Settin up folders for install
This is a known bug with the P&DW. May I suggest using another installer. InnoSetup for example is great and free.
-
Jan 16th, 2005, 01:50 PM
#3
Thread Starter
Hyperactive Member
Re: Settin up folders for install
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
-
Jan 16th, 2005, 02:20 PM
#4
Re: Settin up folders for install
Yes you can do pretty much anything with InnoSetup. Including customizing the pages in the Setup Wizard that is created.
-
Jan 16th, 2005, 02:39 PM
#5
Thread Starter
Hyperactive Member
Re: Settin up folders for install
It looks a bit complicated is there any wizards on it?
-
Jan 16th, 2005, 02:52 PM
#6
Re: Settin up folders for install
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.
-
Jan 16th, 2005, 03:28 PM
#7
Re: Settin up folders for install
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.
-
Jan 16th, 2005, 04:23 PM
#8
Thread Starter
Hyperactive Member
Re: Settin up folders for install
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
-
Jan 16th, 2005, 04:49 PM
#9
Re: Settin up folders for install
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.
-
Jan 16th, 2005, 05:25 PM
#10
Re: Settin up folders for install
-
Jan 16th, 2005, 08:51 PM
#11
Re: Settin up folders for install
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 for directions on including system files and MDAC.
HTH
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 16th, 2005, 08:56 PM
#12
Re: Settin up folders for install
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:
-
Jan 23rd, 2005, 02:29 AM
#13
Re: Settin up folders for install
robvr6,
If you are going to use Inno Setup, Use ********** to help create your starter script. It will get your apps dependencies for you and more...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|