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? :wave:
Printable View
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? :wave:
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.
Dear Digirev,
What is Resoure editor?
Add it to a Resource file. At runtime you may create the exe file by reading the resource and standard File IO operations.
Dear Pradeep1210,
Sorry.I am not able to undertand.Some examples will do better?
There's code in the CodeBank. And possibly the FAQ.Quote:
Originally Posted by danasegarane
In machine, the administrator installed the VB6.Is there any way to add this without reinstalling?
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 :)
This what i get in the Add in
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 :)
Yes I have Administrator,But vb is installed from the Others login?
Try reinstalling Visual Studio or login as that user.Quote:
Originally Posted by danasegarane
Pradeep
Why do you need to have one exe inside another?Quote:
Originally Posted by danasegarane
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.
You do realize deploying a second exe may work if it's dependencies are not deployed also.
Same Ol' Song....
For the First Time, I will deploy all the supporting filles with the help of support.
For the second time only, I need this
Why would you need the exe in the file the second time???
Because I want to give the single exe to the user?
There are better ways to accomplish that...
:) Please Suggest me some methods :wave:
Please describe exactly what you are attempting to accomplish...
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?
That doesn't explain why you are attempting this.
Hidden from seeing the second exe????
What exactly do you mean?
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.
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.
You are absolutely correct!!! :thumb:
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 :)