What I’ve done to use the above webapp portably is as follows (assume that the USB drive/portable device is drive letter “X”):
- Make sure you have Prism and the Wikipedia.webapp installed.
- Create a folder under “X:\PortableApps\” (or where ever you store your portable applicaitons) called “X-Prism” (”X:\PortableApps\X-Prism”)
- Copy the “C:\Program Files\Prism” folder to “X:\PortableApps\X-Prism” (”X:\PortableApps\X-Prism\Prism”)
- Copy the wikipedia.exe and the wikipedia.ini files into “X:\PortableApps\X-Prim”
- Run the Prism.exe, this will create the user profile you’ll need to copy your webapp into
- Now copy your webapp folder from your profile folder on your hard drive usually located about here:
“C:\Documents and Settings\YOURUSERNAME\Application Data\WebRunner\Profiles\RANDOMSTRING.default\webapps\WEBAPPNAME”
to your new profile folder on your portable device:
“X:\PortableApps\Application Data\WebRunner\Profiles\NEWRANDOMSTRING.default\webapps\WEBAPPNAME“ - Last step, start the wikipedia.exe file again, this will start the webapp that you’ve copied.
You Can download : Wikipedia Louncher
This wikipedia.ini files :
[Setup]
AppName=WebRunner
;Application name, this will also be used below as the
;name of some of the folders.
[FileToRun]
PathToExe=$AppName$\$AppName$.exe
;This is the name and path to the file you're trying to
;launch.
WorkingDir=%HOME%
;This is the name of the directory which will be used
;by the program as it's working directory.
Parameters= -webapp wikipedia@luckydisasters.com
;List of any parameters to pass to the application, in
;this case we're telling WebRunner to load the webapp
;"wikipedia@luckydisasters.com"
[Environment]
HOME=$HOME$\$AppName$
;This folder will be used to save any user specific file
;information - like the Mozilla profiles folder.
USERPROFILE=%HOME%
;As you can see I've used the same folders for all the
;programs files, this will make it a lot easier later if we
;want to see what the program is doing or make
;changes.
PATH=%PATH%;@ScriptDir@
;This adds the @ScriptDir@ variable to the system
;path used by the application
[Functions]
DirCreate=%HOME%
;if this folder doesn't exist when you start the
;program, it will created. You can place other
;functions here as well if you need them.
[Options]
;These settings are other X-launcher application
;options, such as showing a splash screen and
;what not, feel free to make changes, but these
;should be fine as is
DeleteTemp=true
MultipleIstances=true
FixAppData=false
RunWait=true
ShowSplash=true
WriteLog=false
[SplashScreen]
;This section allows you to add a custom splash
;screen and sets the length of time the splash
;screen is shown. Leave the Image and Title blank
;for X-launcher defaults. The image path (as well
;as all paths in this ini file) are relative to the
;current location of the ini/exe files for the
;X-launcher app.
Image=
Title=
TimeOut=1500
0 komentar:
Post a Comment