Results 1 to 27 of 27

Thread: Exe Deploy

  1. #1

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Exe Deploy

    Dear All,
    I have two exes.I want to deploy the Exe2 to the client machine with the help of Exe1.But the main thing, I want the Exe1 should contain the Exe1 within it not any where outside the exe(Phsical Drives). Is it Possible?
    Please mark you thread resolved using the Thread Tools as shown

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Exe Deploy

    What?

    If you want to put one EXE (or any file, actually) inside another, use the Resource editor.

    There is code for this in the FAQ or the CodeBank.

  3. #3

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    Dear Digirev,
    What is Resoure editor?
    Please mark you thread resolved using the Thread Tools as shown

  4. #4
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Exe Deploy

    Add it to a Resource file. At runtime you may create the exe file by reading the resource and standard File IO operations.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  5. #5

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    Dear Pradeep1210,
    Sorry.I am not able to undertand.Some examples will do better?
    Please mark you thread resolved using the Thread Tools as shown

  6. #6
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Exe Deploy

    Quote Originally Posted by danasegarane
    Dear Pradeep1210,
    Sorry.I am not able to undertand.Some examples will do better?
    There's code in the CodeBank. And possibly the FAQ.

  7. #7

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    In machine, the administrator installed the VB6.Is there any way to add this without reinstalling?
    Please mark you thread resolved using the Thread Tools as shown

  8. #8
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Exe Deploy

    Click Add-Ins > Add-In Manager. This will show a list of available addins. Select Resource Editor from this list and check the "Loaded/Unloaded" checkbox and click OK.
    Now in the add-Ins menu, you would find a new entry for Resource Editor. Click it and you would open Resource Editor.

    Pradeep
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  9. #9

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    This what i get in the Add in
    Attached Images Attached Images  
    Please mark you thread resolved using the Thread Tools as shown

  10. #10
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Exe Deploy

    Are you logged in with Administrator rights?

    My system too hides many of the add-ins if not logged in as Administrator. Though I don't know why this happens.

    Pradeep
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  11. #11

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    Yes I have Administrator,But vb is installed from the Others login?
    Please mark you thread resolved using the Thread Tools as shown

  12. #12
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Exe Deploy

    Quote Originally Posted by danasegarane
    Yes I have Administrator,But vb is installed from the Others login?
    Try reinstalling Visual Studio or login as that user.

    Pradeep
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  13. #13
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Exe Deploy

    Quote Originally Posted by danasegarane
    Dear All,
    I have two exes.I want to deploy the Exe2 to the client machine with the help of Exe1.But the main thing, I want the Exe1 should contain the Exe1 within it not any where outside the exe(Phsical Drives). Is it Possible?
    Why do you need to have one exe inside another?

  14. #14

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    My aim is that deploy a second exe, when the user enter the correct password, Than the the containing exe , to be copied to the "program files\123" Folder.
    Please mark you thread resolved using the Thread Tools as shown

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

    Re: Exe Deploy

    You do realize deploying a second exe may work if it's dependencies are not deployed also.

    Same Ol' Song....

  16. #16

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    For the First Time, I will deploy all the supporting filles with the help of support.
    For the second time only, I need this
    Please mark you thread resolved using the Thread Tools as shown

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

    Re: Exe Deploy

    Why would you need the exe in the file the second time???

  18. #18

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    Because I want to give the single exe to the user?
    Please mark you thread resolved using the Thread Tools as shown

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

    Re: Exe Deploy

    There are better ways to accomplish that...

  20. #20

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    Please Suggest me some methods
    Please mark you thread resolved using the Thread Tools as shown

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

    Re: Exe Deploy

    Please describe exactly what you are attempting to accomplish...

  22. #22

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    I want to deploy the Exe2 with the help of Exe1.The Exe2 should be copied to "C:\Test".
    But the user should be hidden from seeing the Exe2.That is Both the exe should be contained in a same folder/File/Cap File?
    Please mark you thread resolved using the Thread Tools as shown

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

    Re: Exe Deploy

    That doesn't explain why you are attempting this.

    Hidden from seeing the second exe????

    What exactly do you mean?

  24. #24

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Exe Deploy

    My total aim is deploy a Exe2 in the client machine , with the help another Exe1.But I want to give only one exe to the user.If the user click the deploy button in the EXE1,then the Exe2 should be copied to the cleint system.
    Please mark you thread resolved using the Thread Tools as shown

  25. #25
    Addicted Member
    Join Date
    Mar 2006
    Posts
    178

    Re: Exe Deploy

    Normally you would use the Installation package to do that. I'm sure InnoSetup, InstallShield and other packages could only installed specific files if required. You don't need to write a program yourself to do that.

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

    Re: Exe Deploy

    You are absolutely correct!!!

  27. #27
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Exe Deploy

    If providing EXE after providing appropriate password is your only problem, you don't need a program for that, nor a setup.
    You can just zip it into a self-extracting exe (or sfx) using any popular zipping tool (winzip, winrar etc.) with a password.


    Pradeep
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

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