Jump to content











Photo
- - - - -

[App Script] Portable Applications Handler


  • Please log in to reply
25 replies to this topic

#1 funtik

funtik

    Member

  • Members
  • 75 posts
  •  
    United States

Posted 10 February 2009 - 08:14 PM

This script allows to add Portable Applications created by VMware ThinApp to the build. It should work fine with Portable Applications created by other programs too. It has options to add shortcuts to Desktop, Quick launch and Start menu. You can even associate file types with your Portable Application (be careful with that).

Tested with WinBuilder076 under LiveXP minimum configuration with all default settings.
Download link: PortableApps.script
ver.3 Updated 22-APR-2009

If you want to include more than one Portable Application to your build, simply duplicate this script and:
1. Rename it (EXAMPLE: PortableApps2.script, PortableApps3.script and so on);
2. Rename the Title inside the script (EXAMPLE: Title=Portable Applications Handler 2, Title=Portable Applications Handler 3 and so on), make sure you do this step.
You can include as many portable applications as you want.

There are no limitations in using this script with Portable Applications created using “User’s profile (%AppData%\Thinstall)” option. See picture below:
Posted Image
If “USB flash / portable media …” option was used, you have to make your build running from RAM (use BootSDI.script).

If you‘ve got your Portable Application somewhere over the internet and you do not know what option was used, just run it and see if it creates a folder in the same directory. If it creates a folder, than “USB flash / portable media …” option was used, if it does not create a folder, the “User’s profile (%AppData%\Thinstall)” option was used.

You might be interested to read these:
http://edwinfriesen.nl/content/?p=106

Below, there are some portable applications you can play with:
Ultra ISO v9.3.3.2685
WinRAR v3.80
Atlantis Word Processor v1.6.2.0


Edit Lancelot:
A cripled version of this script with name LODR-Thinstall_Support.script exists on LiveXP server to support thinstalled applications.

Keep in mind that script location & name on LiveXP server can change in time.
Latest grand update annouced here for that reason.
Also one can check livexp server page or follow infos at changelog if available .

Thinstalled applications consists of 2 parts
"Core application + Thinstall"

This script only supports Thinstall requirements to work properly,
This script DO NOT support Core application requirements which naturally varies from application to application.

#2 funtik

funtik

    Member

  • Members
  • 75 posts
  •  
    United States

Posted 19 February 2009 - 08:29 PM

I just updated my script. Now, you can associate up to twelve file types with your Portable Application.

#3 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 25 February 2009 - 03:47 AM

Thank you funtik,

i will test in a month or 2 :cheers:

#4 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 25 February 2009 - 06:32 PM

Thank you funtik,

i will test in a month or 2 :cheers:


take a laptop dude :cheers:

#5 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 22 April 2009 - 08:06 PM

Hi Funtik


yep working nicely,
all 3 example applications worked nicely (with bootsdi and create iso without fbwf), as usual i cant write with atlantis (but realy dont worry, it is not very important with reasons explained elsewhere, one day :))
anyway
I guess if we find the reason for %local appdata% maybe bootsdi not needed anymore :) :) (quickly look some regular suspects around, but couldnt find, i am really very busy, LiveXP slave these days :( )
I plan to put your script to LiveXP project with some improvements (i am sure you will love them :) ), you know now a days thinstalled applications are popular. (need time, have great ideas). I hope you find a way to get around %local appdata% till than (i will ask around too) :)

A little bugy, probably not related with your script but can easly solved with it :), having empty "Program Folder Name" on scripts cause missing shortcut icons of all applications which are under a spaced name %ProgramFiles% directory, ex: X:\Program Files .
My offered solution is: when "Program Folder Name" is empty, make your script use a unique folder name (ex: Thinstall_Funtik) :(
If,%ProgramFolder%,Equal,,Set,%ProgramFolder%,Thinstall_funtik
not tested, please check these too
If,%ProgramFolder%,Equal,\,Set,%ProgramFolder%,Thinstall_funtik
If,%ProgramFolder%,Equal,.\,Set,%ProgramFolder%,Thinstall_funtik

Eh, today 22.04, i first posted 25.02, it is nice to keep a promise with a little reminding help :(

#6 funtik

funtik

    Member

  • Members
  • 75 posts
  •  
    United States

Posted 23 April 2009 - 04:49 AM

New ver.3 has been uploaded. The bugs “No_ProgramFolder_name” and “No_ProgramTitle_name” are fixed now. If the user leaves those fields empty, the script will replace them with a Portable application file name.

I guess if we find the reason for %local appdata% maybe bootsdi not needed anymore :) :) (quickly look some regular suspects around, but couldnt find, i am really very busy, LiveXP slave these days :) )

... I hope you find a way to get around %local appdata% till than (i will ask around too) :)

Lancelot, if you were talking about “USB flash / portable media …” option, which I described in the first post. I think it is imposable to get around this. Because if the mentioned above option was used, ThinApp core tries to make a Directory where the Portable application is (CD disk) and it fails. That is why BootSDI.script is required in this case.

#7 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 23 April 2009 - 01:35 PM

Very nice fix

if you were talking about “USB flash / portable media …” option

nope

ThinApp core tries to make a Directory where the Portable application is (CD disk) and it fails.

Sad, but easy to get around it :). A selfrespected portable package should check if it is in writable media, if not have alternative (in thinapp case, when usb box selected, it should also consider user's profile location as 2nd alternative). It is sad to see guys at thinapp forgot that but as you know it is also easy to get around :).

I will inform you on future development, i need to work hard to get the pieces together which i started ~2months ago.

Thank you alot for this nice script :)

#8 risolutore

risolutore

    Frequent Member

  • Advanced user
  • 311 posts
  •  
    Italy

Posted 23 April 2009 - 06:58 PM

Thinstalled are very useful, but pay attention to internal dependecies..I started to use Thinstall inside VistapE in order to track install and make a package that just works out of the box. Since the involved drivers are quite a few is quite easy to make a good work.. but what about a system driver, like wincap or Wireshark..or acronis TI thinstalled??

#9 funtik

funtik

    Member

  • Members
  • 75 posts
  •  
    United States

Posted 23 April 2009 - 07:25 PM

... but what about a system driver, like wincap or Wireshark..or acronis TI thinstalled??

Sorry, I do not know.
You better visit VMware website: http://www.vmware.co.../community.html
There are a lot of video tutorials on their website. You will figure out what you can do with ThinApp.

#10 risolutore

risolutore

    Frequent Member

  • Advanced user
  • 311 posts
  •  
    Italy

Posted 23 April 2009 - 07:46 PM

with ver 4.0 was possible to use this trick http://edwinfriesen.nl/content/?p=106

#11 dsolomon

dsolomon

    Frequent Member

  • Advanced user
  • 243 posts

Posted 07 September 2009 - 11:55 PM

i am unable to download your script.
it wants me to sign up @ filesavr.com and it asks for my paypal.
am i clicking wrong ? lol
also, upon further research of filesavr.com, it seems it may be a scam site.
can i get an admin to look into this>?

#12 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 08 September 2009 - 03:40 AM

I would say that the upload at the site has now expired.

Anyway, the script is currently available with LiveXP.

Regards,
Galapo.

#13 dsolomon

dsolomon

    Frequent Member

  • Advanced user
  • 243 posts

Posted 08 September 2009 - 03:55 PM

humm...
im having problems finding it in my livexp.
i even have lancelots Livexp Extra Apps Source.
(http://apps.winbuild...PExtra/Projects)
only thing i see that is close to what im looking for is the LODR-loader.script.
could you be so kind to give me a directory of where the download is in livexp? =)

#14 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 08 September 2009 - 04:31 PM

i suppose Galapo meant
/Apps/Supplementary/LODR-Thinstall_Support.script

#15 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 08 September 2009 - 04:45 PM

dera ;)

Hi dsolomon,
As far as i remember, in addition to the available script on livexp server, funtik's script had option to copy and create shortcut to some thinstalled exe's, I prefer not to include this part because creating individual scripts for thinstalled applications is very easy and simple after enabling LODR-Thinstall_Support.script

Create a script, attach the thinstalled exe (ex: UltraIsoThinstall.exe), Here is a simple script example

[main]

Title=UltraIsoThinstall

Description=

Selected=True

Level=5

Version=1

Author=dsolmon

Date=

Download_Level=2



[variables]

%ProgramTitle%=UltraIso Thinstall

%ProgramEXE%=UltraIsoThinstall.exe

%ProgramFolder%=UltraIsoThinstall



[process]

unpack

Add_Shortcut,StartMenu



[EncodedFolders]

Folder



[Folder]

UltraIsoThinstall.exe.....

....
(I dont have such a script, just written, create, test and see how it works :()
:(

Edit: name fixed

#16 dsolomon

dsolomon

    Frequent Member

  • Advanced user
  • 243 posts

Posted 08 September 2009 - 05:48 PM

thanks alot lancelot...
=)
ultimatley what im trying to accomplish is being able to put any portable app in a special dirctory on the root of my bootcd and create a shortcut to it from my startmenu, quicklaunch, or desktop.
i need this ability so i can use transmac.exe (standalone executible capable of reading HFS+ partitions.... AKA MacOSX Support.
ill play with that script of yours lancelot when i go to lunch.
thanks again.

#17 dsolomon

dsolomon

    Frequent Member

  • Advanced user
  • 243 posts

Posted 09 September 2009 - 12:16 AM

alright. so im bad at scripting. [Sarcasm] Surprise!!![/Sarcasm]
may i get a nice script for the following?
just so i have a nice learning template.
heres what i got.

i have a single standalone executible, Transmac.exe.
located @ C:\LiveXP\Workbench\Common\Transmac\Transmac.exe
and i want to have a shortcut added to my startmenu folder @ All Programs\System
im needing to have it placed with the rest of my apps as a wim packed inside a vmdk container.

whatcha got? =)

#18 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4199 posts

Posted 09 September 2009 - 12:55 AM

Nice addon to having it on LiveXP. I will have to test it. I didnt notice it when going thru LiveXP scripts.

#19 ElRey

ElRey
  • Members
  • 1 posts
  •  
    United States

Posted 14 November 2009 - 03:29 PM

how do you download script. I clicked to download and it just redirects me to a new page fire the file hoster

#20 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 14 November 2009 - 04:21 PM

how do you download script. I clicked to download and it just redirects me to a new page fire the file hoster


You read what has been posted? :)

I would say that the upload at the site has now expired.

Anyway, the script is currently available with LiveXP.

Regards,
Galapo.


humm...
im having problems finding it in my livexp.
i even have lancelots Livexp Extra Apps Source.
(http://apps.winbuild...PExtra/Projects)
only thing i see that is close to what im looking for is the LODR-loader.script.
could you be so kind to give me a directory of where the download is in livexp? =)


i suppose Galapo meant
/Apps/Supplementary/LODR-Thinstall_Support.script


Then, you won't find it, since everyone instead of answering plainly to the "right" question with the "right" answer:
HERE:
http://livexp.boot-land.net/
http://livexp.boot-l..._Support.script
(hxxp://livexp.boot-land.net/LiveXP/Components/Core/1%20System/LODR-Thinstall_Support.script)
like to "give hints" :)

Of course changing the name of the .script and continuously moving it in different places of the tree, without updating the related thread doesn't help much. :)

:drunk:

jaclaz

#21 Loisi

Loisi

    Member

  • Members
  • 59 posts

Posted 16 November 2009 - 03:49 PM

This script allows to add Portable Applications created by VMware ThinApp to the build. It should work fine with Portable Applications created by other programs too. It has options to add shortcuts to Desktop, Quick launch and Start menu. You can even associate file types with your Portable Application (be careful with that).


Hello funtik,
I didn't find your Portableapps.script, but LODR-Thinstall_Support.script. Is it the same as yours? Included in my build it was not possible to run my portable app "Paragon Partition MANAGER" I have built with Thinapp. If I need your script please tell me where I can download it.
Loisi

#22 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 16 November 2009 - 04:13 PM

Hi Loisi,

here are some answers

Is it the same as yours?

mainly yes.
funtik's script adds 4 files to the build which are essential for thinstall part of thinstalled applications. It also have an option to add and create shortcut of some applications to the build.
The script at Livexp only adds these 4 files to the build without such addFiles/createshortcut option to avoid misusage/misunderstanding of the script. Applications inside the thinstall may require some more dependent files. :) (ps: I will add a warning to the script now :))

Included in my build it was not possible to run my portable app "Paragon Partition MANAGER" I have built with Thinapp. If I need your script please tell me where I can download it.

Script at livexp or funtik's script adds Required files for thinstall
Both does NOT add required files for the application inside thinstall

With other words:
When you use "Core application + thinstalled" executable, thinstall part works :drunk: which is the goal of funtik's and LiveXP script.
but Core application may not work, you need to figure out what you require more. ( ex: you can use Dependency Walker to find)

ps: for you, Core application is "Paragon Partition MANAGER"

#23 Loisi

Loisi

    Member

  • Members
  • 59 posts

Posted 17 November 2009 - 10:11 AM

Script at livexp or funtik's script adds Required files for thinstall
Both does NOT add required files for the application inside thinstall

With other words:
When you use "Core application + thinstalled" executable, thinstall part works :drunk: which is the goal of funtik's and LiveXP script.
but Core application may not work, you need to figure out what you require more. ( ex: you can use Dependency Walker to find)

ps: for you, Core application is "Paragon Partition MANAGER"

Hello Lancelot,
thank you for your fast reply. If I understand you corretly, my thinstalled
.exe should work-but it don't. Starting this .exe in a normal WinXP it works
without problems.
I am certain that I do something wrong-but what?
Loisi

#24 Grendel

Grendel
  • Members
  • 2 posts
  •  
    Germany

Posted 14 March 2010 - 11:36 AM

This script allows to add Portable Applications created by VMware ThinApp to the build. It should work fine with Portable Applications created by other programs too. It has options to add shortcuts to Desktop, Quick launch and Start menu. You can even associate file types with your Portable Application (be careful with that).

Tested with WinBuilder076 under LiveXP minimum configuration with all default settings.
Download link: PortableApps.script
ver.3 Updated 22-APR-2009

If you want to include more than one Portable Application to your build, simply duplicate this script and:
1. Rename it (EXAMPLE: PortableApps2.script, PortableApps3.script and so on);
2. Rename the Title inside the script (EXAMPLE: Title=Portable Applications Handler 2, Title=Portable Applications Handler 3 and so on), make sure you do this step.
You can include as many portable applications as you want.

There are no limitations in using this script with Portable Applications created using “User’s profile (%AppData%\Thinstall)” option. See picture below:
Posted Image
If “USB flash / portable media …” option was used, you have to make your build running from RAM (use BootSDI.script).

If you‘ve got your Portable Application somewhere over the internet and you do not know what option was used, just run it and see if it creates a folder in the same directory. If it creates a folder, than “USB flash / portable media …” option was used, if it does not create a folder, the “User’s profile (%AppData%\Thinstall)” option was used.

You might be interested to read these:
http://edwinfriesen.nl/content/?p=106

Below, there are some portable applications you can play with:
Ultra ISO v9.3.3.2685
WinRAR v3.80
Atlantis Word Processor v1.6.2.0


Edit Lancelot:
A cripled version of this script with name LODR-Thinstall_Support.script exists on LiveXP server to support thinstalled applications.

Keep in mind that script location & name on LiveXP server can change in time.
Latest grand update annouced here for that reason.
Also one can check livexp server page or follow infos at changelog if available .

Thinstalled applications consists of 2 parts
"Core application + Thinstall"

This script only supports Thinstall requirements to work properly,
This script DO NOT support Core application requirements which naturally varies from application to application.



#25 Grendel

Grendel
  • Members
  • 2 posts
  •  
    Germany

Posted 14 March 2010 - 11:42 AM

Hi.
Is this script still available? Clicking on the link took me to an online file service of which I am not a member. :lol:

bye




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users