Results 1 to 13 of 13

Thread: Settin up folders for install

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2005
    Posts
    277

    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

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2005
    Posts
    277

    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

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2005
    Posts
    277

    Re: Settin up folders for install

    It looks a bit complicated is there any wizards on it?

  6. #6
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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.

  7. #7
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    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.

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2005
    Posts
    277

    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

  9. #9
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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.

  10. #10
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Settin up folders for install

    try registering it.

  11. #11
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  12. #12
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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:

  13. #13
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    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
  •  



Click Here to Expand Forum to Full Width