Results 1 to 7 of 7

Thread: [RESOLVED] Nees Help with VB deployment wizard

  1. #1

    Thread Starter
    Member midway's Avatar
    Join Date
    Apr 2006
    Posts
    39

    Resolved [RESOLVED] Nees Help with VB deployment wizard

    Hi every1, I just joined this board today. I hope my stay here will be fun .

    Anyway, I need some help with this VB project. Actually my project is all done and i am trying to put it up as a setup file. This project is a "school standards and policy maker" project, which gives standards and creates a policy table of what standards are met and what are not. It has a requirements.exe file which basically has all the forms and it reads and displays couple of html files stored in the same folder as the .exe file but under a new folder. I want to wrap up this project and make a self extracting setup. exe project so that users can install this program in their computers.

    I opened add-ins and selected this deployment wizard, and followed all the steps as far as i know (Or shuld i say as little as i knw). The wizard goes well and creates the package, but the html files under the new folder doesnt get included. How can I include folders into the package so that when the person installs the program into his c: drive into a random folder, it creates and copies the html files as it is in my computer?

    Sorry for the long post, But I have tried to explain as detailed as possible. Any help will be really helpful. Advance thanks.

    Cheers!
    Kumar

  2. #2
    Fanatic Member lerroux's Avatar
    Join Date
    Nov 2005
    Location
    Welcome to the darkside... we have cookies
    Posts
    646

    Re: Nees Help with VB deployment wizard

    hi... as far as i know... you can include files along the steps that the wizards guides you through... trust me... it's like... the 4th or 5th step through...

    i dont really recomend P & D though... try using INNO SETUP... much easier to use!
    WARNING: Excessive coding is dangerous to your health... if symptoms persist insult your doctor...

  3. #3
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: Nees Help with VB deployment wizard

    there will be a screen which will be asking for include files in P & D...but you can only install these files in selected locations on the other computers, if you use P & D for creating setup files...
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


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

    Re: Nees Help with VB deployment wizard

    Add the extra needed files as shown in my first image. Then set the location in the second image.





    Moved
    Attached Images Attached Images   
    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

  5. #5

    Thread Starter
    Member midway's Avatar
    Join Date
    Apr 2006
    Posts
    39

    Re: Nees Help with VB deployment wizard

    Thanks a lot guys, But would doing this keep my folders intact?
    hmmmm, Probably i am not very clear abt what i want. I will post a couple of images 2moro, so you guys can understand what I want.

    Thanks a lot.

    CHeers!
    Kumar

  6. #6

    Thread Starter
    Member midway's Avatar
    Join Date
    Apr 2006
    Posts
    39

    Re: Nees Help with VB deployment wizard

    Hi guys, I am back. Robdogg, your example gives some insight. thanks.

    I have attached three images. If you see 1.jpg, that is my junk. The requirements.exe and the folder called Templates must be installed as it is on to the users computers. So they get into the project depolyment

    And if you see 2.jpg, that is the file listing inside the "Templates" folder and you can see there is another folder called "Template_Examples" along with a few html files.

    3.jpg is what the "Template_Examples" contains. It basically has the files with same names, but they are different.

    Now requirements.exe reads and displays these html files from both folders. It goes according to the $apppath to access the files. So i need to keep the folder tree intact inside the users computer.

    I tried add these files into the deployment wizard, but I can only add one copy of the html files as they have the same name. Should I change the names to something else or is there a way to get around it? Also i am not really sure how to make those files go into a folder during adding into deployment wizard.

    I hope it is clear. :P

    Thanks again.

    Cheers!
    Attached Images Attached Images    

  7. #7

    Thread Starter
    Member midway's Avatar
    Join Date
    Apr 2006
    Posts
    39

    Re: Nees Help with VB deployment wizard

    Actually guys, no need to sweat. I was cruising through deployment faqs and saw this innosetup. Dled it and works like a charm. Got it figured out. It is so easy to use, while VB deployment wizard is just plain ****ty and complicated. My bad that i dint go thro the faq before itself, i was just plain lazy.

    Thanks u guys. u rock.

    Cheers!
    Kumar

    ps: oops, lerroux did say abt Innosetup. Thanks man, that was one smashing program.

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