forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Is there a DLL that can put VDSrun50.dll in vds5 EXE?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Feb 06, 2007 8:05 pm    Post subject: Is there a DLL that can put VDSrun50.dll in vds5 EXE? Reply with quote

Is there a DLL that can put VDSrun50.dll in a vds5 homemade EXE so it can run without the VDSrun50.dll externally?

I read a while back where an older DLL for $69 could do it, but cant remember its name or what it was for.

I wonder if GadGetX can do this... Question

Converting a VDS5 EXE to run in DOS would be nice too Cool

Thanks
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Feb 06, 2007 10:02 pm    Post subject: Reply with quote

While it's not a DLL, PGWARE's Alloy program can bundle different files into one single EXE file.

-FF

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Wed Feb 07, 2007 3:27 pm    Post subject: Reply with quote

vtol,
GadgetX cannot embed the VDS runtime DLL into the Exe. The reason GadgetX would not be able to do this is because the VDS Exe loads GadgetX after it loads the VDS runtime DLL. FreezingFire is correct about the only program I know of that can combine the VDS runtime DLL into a VDS Exe is Alloy by PGWARE.
As for making a VDS 5 Exe into a DOS exe this is not possible since VDS 5 makes Win32 Exe's. However you can make a VDS 5 application run as a console 32bit application using my VDSConsole package here VDSConsole The package has a VDS tool that will convert the VDS Win32 Exe into a console application. It also includes a DSU that allows you to create the console window and read/write to that window.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Feb 07, 2007 5:04 pm    Post subject: Reply with quote

VDS 6, if it ever sees the light of day, will have the capability to do this (both integrated EXEs and Win32 console EXEs.) Personally I could never see the point of integrating the runtime, when a VDS EXE + runtime took up exactly the same amount of space, plus of course if you have more than one VDS EXE you immediately start saving space by having just one copy of the runtime instead of each program having its own copy. If every one of my VDS EXEs had its own copy of the runtime I'd probably need a second hard drive!
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Feb 07, 2007 8:06 pm    Post subject: Reply with quote

Jules,

I can see where you're coming from and I agree with you that having only one copy of the runtime saves a lot of space.

However, I'm very glad that VDS 6 will have the option of integrating the runtime, because there are often situations that I need to distribute a single executable, which may need to be run in read-only situations where it cannot extract the runtime (if the runtime were extracted upon runtime). It also gives me peace of mind knowing the option is there when I need it.

-FF

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Feb 07, 2007 11:40 pm    Post subject: Reply with quote

yeah alloy, thats the one, couldn remember its name, thanks..

Concerning runtime DLL etc:
I meant I would also just use this feature very seldem, but when I use it it would also be handy everything in 1 EXE in certain situations where they dont want to mess with an installer or think about more than 1 file during use, maybe I'm just crazier than I first though Smile

Will that console run in win98 DOS ?, Since XP doesnt have a place to stop and use a console before boot up, just curious, and what would a console be used for if not?
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Feb 08, 2007 2:07 pm    Post subject: Reply with quote

A console application is just a Windows application that doesn't have a user interface. It's also a 32-bit application, so it can run in the 32-bit command window of NT/XP/Vista (just type "cmd" in the Run box.) The Windows 9x DOS is 16-bit, so that's why it won't run 32-bit console apps, though it can probably start them and they will run in their own separate command window (don't know for sure as it's years since I used that obsolete OS).
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Thu Feb 08, 2007 3:09 pm    Post subject: Reply with quote

Vtol,
As Windows XP is starting press and hold the F8 key. If you catch it at the right time you will get a menu that will allow you to login via a command console.

Jules,
I think you are correct as far as Win9x systems go. There is a difference between a Windows PE file and a Windows 32bit console application's PE file which I am sure you are aware of Wink
As far as integrating the runtime DLL goes there is 1 application that I have always wanted to build with VDS but have not been able too since version 2.5 and that is a Setup program. I really hate the fact that I have to use some other language to build a setup program with.

Ok I found a little program that will allow you to run Win32 console apps in DOS. Take a look at this DOS extender HX.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Feb 09, 2007 4:52 pm    Post subject: Reply with quote

I wrote a setup program in VDS. Since it was mainly intended for use installing VDS applications it uses the copy of the VDS runtime that is extracted to the temporary folder along with all the other stuff before the install starts. This makes for a nice small installer, only 44KB, plus I got the SFX stub down to about 19K (it's the one that comes with the official VDS Zip toolkit, with a few bits that aren't used hacked out.)

I have compiled my installer with the integrated runtime so I could use it with non-VDS apps. But then the installer overhead is about the same as using Inno Setup, which is a lot more functional. The non-integrated version could still be used if you don't mind including an otherwise redundant copy of vdsrun50.dll with your program - it doesn't take up any more space.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sat Feb 10, 2007 12:55 am    Post subject: Reply with quote

Thanks jules for the info... Size is not an issue as far as I am concerned... Ease of use by me and my customers is more of a concern for me. I currently use Inno setup and I can't stand it. It has it's on language which is not user friendly at all. VDS 5 is capable of doing everything that Inno setup can do with the exception of the fact that VDS 5 cannot integrate it's runtime. Now that I am done with my DLL I really can't stand writting code in other languages they just seem like a waist of time to me. I perfer VDS over all others due to the fact that it is simple and quick to build programs. The biggest problem I have with most setup programs is that they ask too many freaking questions. Who cares where you put the program just load it and lets go...
_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Sat Feb 10, 2007 2:40 am    Post subject: Reply with quote

dragonsphere wrote:
VDS 5 is capable of doing everything that Inno setup can do with the exception of the fact that VDS 5 cannot integrate it's runtime.

I use Inno Setup because it can add comments to the shortcuts it creates - something that VDS 5 can not do. It can also easily set ACL, if run with a Power User or Admin account. And using the flags options is easy compared to setting the same thing(s) using VDS 5.

But I agree that it's language is not user friendly...

_________________
cheers

Dave
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Sat Feb 10, 2007 4:25 am    Post subject: Reply with quote

I'd recommend against dismissing Innosetup so easily. It has been out on the market for several years and has been tested by several million users which have used installer applications to try various programs. I've found it to be one of the better installers out there which can properly install and uninstall applications on systems without errors.

There is a lot of work involved in creating an installer application that works no matter what system it is on and is as full featured as Innosetup. Sure it may pack a larger stub but people running Windows XP and higher likely do not have a 1 gb harddrive and for the most part are using higher speed connections.
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sat Feb 10, 2007 4:55 am    Post subject: Reply with quote

PGWARE,
Hey I have no issues with the way that Inno Setup works. It is one of the best out there but it's not VDS. My point is why put all your effort into learning a programming languge just to need another programming language to install your software.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Sat Feb 10, 2007 8:39 pm    Post subject: Reply with quote

I forgot about XP F8, but if I remember if you use the DOSprompt selection, you have to wait for XP to load, then for it to load all the DOS drivers and then unload, then you finally get a DOS prompt (if your lucky) with the wrong CDROM DOS drivers Laughing

Yeah I use INNO, its great, and I wrote a VDS installer like Jules mentioned except it use's my regeistered version of Winzip self extractor.

Speaking of INNO does anyone know the line to delete a registry key during INNO uninstall? and a line to put a key in registry during INNO install would be nice too.


Thanks you all for your time and information Very Happy
Back to top
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Sat Feb 10, 2007 11:17 pm    Post subject: Reply with quote

vtol for inno registry:

Code:

[Registry]
Root: HKCU; Subkey: "Software\PGWARE\Alloy"; ValueType: dword; ValueName: "License"; ValueData: "1"; Flags: uninsdeletevalue


Add a [Registry] section, then the lines below it. HKCU is hkey_current_user; check innos help file for other vlaues. Then add the Flags: uninsdeletevalue to remove the value during uninstall. That flag can be used to delete specific values and entire keys. That handles both the install and uninstall of a registry value.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group