Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Jul 02, 2020 1:58 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: A solution to have self containing exe files with RB 2008r2
PostPosted: Fri May 09, 2008 8:50 pm 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
Hi,

from the ReadMe of my newest application:

********************************************************************
This is an alpha version!

REALbasic 2008r2 creates Windows applications as folder with a Lib subfolder.

This application creates applications with one exe file which self extract on start.

Benefits:
- one executable for easy deployment
- passes throughs file pathes dropped on application
- deletes temporary files
- includes whatever data files you drop in the application folder

Your application must be:
- able to run from anywhere
- not write files to the application folder
(use application support folder)

Still to do:
- make the apps smaller (compression?)
- add some checksum to check integrity

Drop the application folder on this application to bundle them.
Works on Mac and Windows.

Written 2008 by Christian Schmitz
********************************************************************

Please try it if you like:

http://www.monkeybreadsoftware.de/realbasic/plugin/

Gruß
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Fri May 09, 2008 9:24 pm 
Offline

Joined: Sat Nov 24, 2007 11:40 am
Posts: 390
Location: Spain
Thank you

I don't get it to work

Image


win xp sp2

compression would be nice (I currently use upx).


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Fri May 09, 2008 9:30 pm 
Offline

Joined: Wed Apr 19, 2006 7:10 am
Posts: 380
Location: Argentina
Hello Christian,

I had a look at your site, specially to your plugin documentation, but I could not find the plugin part that does this feature.

One question: is this functionality available only to 2008r2? or it could be used with RB 2007r2 for Linux?

Thanks.

_________________
--
Juan Jose Costello Levien
jclevien@gmail.com


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Sat May 10, 2008 6:09 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
jclevien wrote:
I had a look at your site, specially to your plugin documentation, but I could not find the plugin part that does this feature.


There is nothing on the webpages, but just two files in the folder:

http://www.monkeybreadsoftware.de/realbasic/plugin/

jclevien wrote:
One question: is this functionality available only to 2008r2? or it could be used with RB 2007r2 for Linux?


Well, I've not yet thought about Linux as this should help with Windows builds first.

Gruß
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Sat May 10, 2008 7:38 am 
Offline

Joined: Sun Aug 05, 2007 8:44 pm
Posts: 26
Location: Russia
Hello Christian,

I've downloaded the REALbasicApplicationPackagerWin.zip file, unzipped and tried to launch it, but when I did nothing seemed to happen.

I'm on Windows XP Professional SP2 Russian edition, Athlon XP 1700, 1Gb RAM.

_________________
REALbasic 2011 R3 Personal, Mac OS X 10.6, Windows 8
http://www.vinidiktov.com/


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Sat May 10, 2008 8:07 am 
Offline

Joined: Thu May 08, 2008 2:26 am
Posts: 82
dito on Vista x64 Ultimate, 8GB RAM, Intel C2D.

Hi Christian,
unfortunately, this is no solution but only a help for completed projects.
IDE in debug mode, with several modules at the same time, does it not and that is the problem.


The RB2008r2 prepares not only plugin-Developer major problems, but also all others.

Paul

_________________
Graphic-BevelButton Class: MDButton
RealStudio (2008R1) & 2011R4 PRO (Win/Mac)
Windows 7 x64 Ultimate / Mac OSX 10.8


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Sat May 10, 2008 8:23 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
Well, for some users it fails silently and for others it works.
So I've to find the bugs and once it is fixed, I hope this will be a good solution for everyone.

e.g. compile your app, drop some data files into the application folder, drop the application folder on my utility and deploy the final exe file.

Gruß
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Sat May 10, 2008 9:28 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
I just uploaded the third alpha which should work better now.

So please download again.

Gruß
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Sat May 10, 2008 9:57 am 
Offline

Joined: Sat Nov 24, 2007 11:40 am
Posts: 390
Location: Spain
thank you again. This time, you program creates the exe but this does not open. Also, original exe plus app folder has a size of 3.66 MB; generated exe is 5.41 MB.

win xp sp2


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Sun May 11, 2008 2:45 am 
Offline

Joined: Sun Aug 05, 2007 8:44 pm
Posts: 26
Location: Russia
The third alpha appears to work fine now on my computer.

I have a question: does the packager write out the library files to disk, if so where exactly? or does it load the dlls into the RAM?

Thanks.

_________________
REALbasic 2011 R3 Personal, Mac OS X 10.6, Windows 8
http://www.vinidiktov.com/


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Sun May 11, 2008 12:26 pm 
Offline

Joined: Thu Jun 22, 2006 2:16 am
Posts: 205
Location: Barcelona
For me, it's the same than thx2.
The exe file is generated but it doesn't open.

(Windows Vista)

_________________
Thanks,
Ramon
----------------------------------------------------------------
REAL_Studio2012r1 Enterprise Academic- Licensed
Windows 7 - Registered and Activated


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Sun May 11, 2008 12:57 pm 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
Hi,
have you tried different PCs?
Can you install DebugView and get the debug output?

And have you downloaded agan, so you got the third alpha?
(the third one works for non admin users)

Gruß
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Sun May 11, 2008 2:53 pm 
Offline

Joined: Sat Nov 24, 2007 11:40 am
Posts: 390
Location: Spain
Hi, the problem seems to be with RBTimer Class:

Image

In that point, the window must open (as I've compared with other app packeged with your program and that works). The execution exits rbtimer class procedure and go directly to ApplicationQuit.

DebugView log (packeging and execution after):

00000000   0.00000000   [2232] writestring: folder   
00000001   0.00011210   [2232] writestring: Qfixer_v.0.15 Libs   
00000002   0.00017436   [2232] writestring:    
00000003   0.00122520   [2232] writestring: file   
00000004   0.00128268   [2232] writestring: Qfixer_v.0.15 Libs   
00000005   0.00134587   [2232] writestring: Appearance Pak.dll   
00000006   0.00139633   [2232] writestring:    
00000007   0.00269501   [2232] writestring: file   
00000008   0.00278305   [2232] writestring: Qfixer_v.0.15 Libs   
00000009   0.00299859   [2232] writestring: MBSEncryptPlugin15764.dll   
00000010   0.00305036   [2232] writestring:    
00000011   0.00392977   [2232] writestring: file   
00000012   0.00398526   [2232] writestring: Qfixer_v.0.15 Libs   
00000013   0.00404434   [2232] writestring: MBSRegistrationPlugin15764.dll   
00000014   0.00472558   [2232] writestring:    
00000015   0.00504241   [2232] writestring: file   
00000016   0.00510280   [2232] writestring: Qfixer_v.0.15 Libs   
00000017   0.00515949   [2232] writestring: RegEx.dll   
00000018   0.00520945   [2232] writestring:    
00000019   0.01421551   [2232] writestring: file   
00000020   0.01434866   [2232] writestring: Qfixer_v.0.15.exe   
00000021   0.01491444   [2232] writestring:    
00000022   0.08584845   [2232] writestring: launch   
00000023   0.08591580   [2232] writestring: Qfixer_v.0.15.exe   
00000024   0.08616553   [2232] writestring:    
00000025   10.93380356   [3028] 1.843307e+6   
00000026   10.96442413   [3028] created folder C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1   
00000027   10.96523094   [3028] readstring: folder   
00000028   10.96526432   [3028] folder   
00000029   10.96531200   [3028] readstring: Qfixer_v.0.15 Libs   
00000030   10.96544075   [3028] path: Qfixer_v.0.15 Libs C:\Documents and Settings\thx2\Configuración local\Temp\AppLauncher-37\Qfixer_v.0.15 Libs   
00000031   10.96547985   [3028] readstring:    
00000032   10.96637344   [3028] create folder C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.15L   
00000033   10.96645641   [3028] readstring: file   
00000034   10.96649265   [3028] file   
00000035   10.96653843   [3028] readstring: Qfixer_v.0.15 Libs   
00000036   10.96738720   [3028] path: Qfixer_v.0.15 Libs C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.15L   
00000037   10.96743774   [3028] readstring: Appearance Pak.dll   
00000038   10.96763706   [3028] Appearance Pak.dll    
00000039   10.96763706   [3028] C:\Documents and Settings\thx2\Configuración local\Temp\AppLauncher-37\Qfixer_v.0.15 Libs\Appearance Pak.dll   
00000040   10.96767616   [3028] readstring:    
00000041   10.96845627   [3028] Appearance Pak.dll    
00000042   10.96845627   [3028] 135168   
00000043   10.96998215   [3028] create file C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.15L\APPEAR~1.DLL   
00000044   10.97000885   [3028] readstring: file   
00000045   10.97004318   [3028] file   
00000046   10.97008896   [3028] readstring: Qfixer_v.0.15 Libs   
00000047   10.97094250   [3028] path: Qfixer_v.0.15 Libs C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.15L   
00000048   10.97099304   [3028] readstring: MBSEncryptPlugin15764.dll   
00000049   10.97112370   [3028] MBSEncryptPlugin15764.dll    
00000050   10.97112370   [3028] C:\Documents and Settings\thx2\Configuración local\Temp\AppLauncher-37\Qfixer_v.0.15 Libs\MBSEncryptPlugin15764.dll   
00000051   10.97116280   [3028] readstring:    
00000052   10.97168541   [3028] MBSEncryptPlugin15764.dll    
00000053   10.97168541   [3028] 62464   
00000054   10.97304821   [3028] create file C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.15L\MBSENC~1.DLL   
00000055   10.97310257   [3028] readstring: file   
00000056   10.97325420   [3028] file   
00000057   10.97331333   [3028] readstring: Qfixer_v.0.15 Libs   
00000058   10.97424221   [3028] path: Qfixer_v.0.15 Libs C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.15L   
00000059   10.97429276   [3028] readstring: MBSRegistrationPlugin15764.dll   
00000060   10.97442818   [3028] MBSRegistrationPlugin15764.dll    
00000061   10.97442818   [3028] C:\Documents and Settings\thx2\Configuración local\Temp\AppLauncher-37\Qfixer_v.0.15 Libs\MBSRegistrationPlugin15764.dll   
00000062   10.97446632   [3028] readstring:    
00000063   10.97528553   [3028] MBSRegistrationPlugin15764.dll    
00000064   10.97528553   [3028] 29696   
00000065   10.97648811   [3028] create file C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.15L\MBSREG~1.DLL   
00000066   10.97654247   [3028] readstring: file   
00000067   10.97657681   [3028] file   
00000068   10.97662735   [3028] readstring: Qfixer_v.0.15 Libs   
00000069   10.97749329   [3028] path: Qfixer_v.0.15 Libs C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.15L   
00000070   10.97754383   [3028] readstring: RegEx.dll   
00000071   10.97768307   [3028] RegEx.dll    
00000072   10.97768307   [3028] C:\Documents and Settings\thx2\Configuración local\Temp\AppLauncher-37\Qfixer_v.0.15 Libs\RegEx.dll   
00000073   10.97772121   [3028] readstring:    
00000074   10.97821045   [3028] RegEx.dll    
00000075   10.97821045   [3028] 110592   
00000076   10.97968388   [3028] create file C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.15L\RegEx.dll   
00000077   10.97973824   [3028] readstring: file   
00000078   10.97977257   [3028] file   
00000079   10.97981834   [3028] readstring: Qfixer_v.0.15.exe   
00000080   10.97999763   [3028] path: Qfixer_v.0.15.exe C:\Documents and Settings\thx2\Configuración local\Temp\AppLauncher-37\Qfixer_v.0.15.exe   
00000081   10.98005104   [3028] readstring:    
00000082   10.98062897   [3028] Qfixer_v.0.15.exe    
00000083   10.98062897   [3028] 3.492525e+6   
00000084   11.07605267   [3028] create file C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.EXE   
00000085   11.07607460   [3028] readstring: launch   
00000086   11.07614231   [3028] launch   
00000087   11.07620716   [3028] readstring: Qfixer_v.0.15.exe   
00000088   11.07715511   [3028] path: Qfixer_v.0.15.exe C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.EXE   
00000089   11.07719517   [3028] readstring:    
00000090   11.07783699   [3028] launch C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.EXE   
00000091   11.07852936   [3028] lpApplicationName: C:\DOCUME~1\thx2\CONFIG~1\Temp\AP2DE0~1\QFIXER~1.EXE   
00000092   11.07856369   [3028] lpCommandLine:    
00000093   11.07859898   [3028] a is not nil   
00000094   11.07863235   [3028] c is not nil   
00000095   11.07866478   [3028] CreateProcessA...   


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Mon May 12, 2008 10:57 am 
Offline

Joined: Sun Jun 24, 2007 12:24 pm
Posts: 441
Location: Madrid
I see the usefulness for this for Windows.

If compression is added I can also see the usefulness for Linux.

I must be missing something because I can't see the usefulness for Mac.

Maybe I'm missing something and this solves more than just the DLL problems?

_________________
----
http://eduo.info/
http://gallery.eduo.info/
http://twitter.com/eduo/


Top
 Profile  
Reply with quote  
 Post subject: Re: A solution to have self containing exe files with RB 2008r2
PostPosted: Mon May 12, 2008 1:25 pm 
Offline
User avatar

Joined: Tue Oct 25, 2005 1:57 pm
Posts: 332
This seems to be working well for me (XP Pro, SP2).

What would be really great if the package app would assign the icon of the app it's packaging to the exe file it creates.

_________________
http://freeware.the-meiers.org
http://opensource.the-meiers.org


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group