Jump to content











Photo
- - - - -

[PortableApps] [App Scripts] Guide1/2/3 + considerations


  • Please log in to reply
1 reply to this topic

#1 rawr

rawr

    Frequent Member

  • Advanced user
  • 163 posts

Posted 14 August 2008 - 03:23 PM

boot-land.net/winbuilder/help/scripts/script_variables.html

App scripts, Be careful in developing
(boot-land.net/forums/?showtopic=5263)
in short

So:
Before you publish an app script:
Test it in a minimum configuration of nativeEx_barebone or a similar 'low level' project!
Peter


App Scripts Guide-1
(boot-land.net/forums/?showtopic=4415)

App Scripts Guide-2
(boot-land.net/forums/?showtopic=4424)

App Scripts Guide-3
(Registry- boot-land.net/forums/?showtopic=5518)

Some files have to be registered as InProcServer32 in the PE's registry.
One possible way is to do it at boot time by using regsvr32.exe.
That works fine; but the disadvantage is that it is done at every boot.
And if there are a lot of entries, boot time will increase remarkably.
Therefore many developers prefer to register at build time.

RegisterServer, Small Tutorial

maby the links are usfull to have in this section as they relate to adding aplication's in to aproject

also (ihave added (EG) link/s,nuno's quote below)

Simple programs that fit on this tutorial are those that match the following restrictions:

- Have few files
- Don't require registry keys
- Don't require additional files on the system32 folder
- Don't require registration of any DLL/OCX activeX dependency
- Don't require any file associations and such (file associations:EG)


This may seem like a long list of restrictions but many small sized programs will fit nicely on this category.


list of restrictions (for basic appScripts) should become a list of links to technique's (for more advanced appScripts )
showing 'how to' instead of 'Don't require' ,

eg 'how to : registration of any DLL/OCX activeX dependency' . . .
--------------------
DLL/OCX-dependency registration (REGSVR32.EXE -http:// support.microsoft.com/kb/249873)
registry below to add 'register/unregister' to right click menu
REGEDIT4



; ActiveX DLLs



[HKEY_CLASSES_ROOT\.dll]

@="dllfile"



[HKEY_CLASSES_ROOT\dllfile\shell\regdll]

@="Register ActiveX DLL"



[HKEY_CLASSES_ROOT\dllfile\shell\regdll\command]

@="regsvr32.exe \"%L\""



[HKEY_CLASSES_ROOT\dllfile\shell\unregdll]

@="Unregister ActiveX DLL"



[HKEY_CLASSES_ROOT\dllfile\shell\unregdll\command]

@="regsvr32.exe /u \"%L\""



; ActiveX Controls



[HKEY_CLASSES_ROOT\.ocx]

@="ocxfile"



[HKEY_CLASSES_ROOT\ocxfile\shell\regocx]

@="Register OCX Control"



[HKEY_CLASSES_ROOT\ocxfile\shell\regocx\command]

@="regsvr32.exe \"%L\""



[HKEY_CLASSES_ROOT\ocxfile\shell\unregocx]

@="Unregister OCX Control"



[HKEY_CLASSES_ROOT\ocxfile\shell\unregocx\command]

@="regsvr32.exe /u \"%L\""



; ActiveX EXEs



[HKEY_CLASSES_ROOT\.exe]

@="exefile"



[HKEY_CLASSES_ROOT\exefile\shell\regexe]

@="Register ActiveX EXE"



[HKEY_CLASSES_ROOT\exefile\shell\regexe\command]

@="\"%L\" /regserver"



[HKEY_CLASSES_ROOT\exefile\shell\unregexe]

@="Unregister Active EXE"



[HKEY_CLASSES_ROOT\exefile\shell\unregexe\command]

@="\"%L\" /unregserver"


#2 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4138 posts

Posted 16 August 2008 - 06:38 AM

Good advice! Have to pin it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users