Assuming the following information about my CD:CD Contents are copied to c:\tutorial1The file that gets executed is insided C:\tutorial1 and is named tutorial.exeNo registration is currently required and program runs like a charm; It's time to try toportabilize.
1. Create a portable directory for your app. From here on "your app" will bereferred to as %appname%. So if your app is generally known as Snafu, thenreplace %appname% with Snafu everywhere within this document.- Don't create the directory on the desktop or in Program Files or MyDocuments, etc.- Use some place like "E:\Portables\%appname%". From here on this directorywill be referred to as %appdir%.
OK so for this document to make sense in my situation, I need to...1) replace %appname% with c:\tutorail1\tutorial.exe and2) replace %appdir% with c:\tutorial1
2. Copy JPE's distributed JauntePE_jauntePE.ini file to %appdir%.3. Edit it to contain the additional following lines at the top (sans numbering):1. [Registry]2. Use=13. Data=.\jauntePE_registry.reg4.5. [Filesystem]6. Use=17. Data=.\8.9. [Redirection]10. Logging=1
OK now I assume the numbers here don't get copied and don't understand the blank linesfor 4 and 8, do they stay?... very confusing.
4. Copy the %appname% installer to %appdir%. If it doesn't have one, then dothe following:- Create a "Files" sub-directory in %appdir%.- Create a "ProgramFiles" sub-directory in "Files".- Create a %appname% sub-directory in "ProgramFiles".- Copy all of the app's files and sub-directories to this lowest-level sub-directory, i.e., copy to %appdir%\Files\ProgramFiles\%appname%.- Skip to step 8.5. Start JPE and drag-n-drop the %appname% installer onto the JPE launchpad.6. Open up the launchpad icon's properties and:- Check "Registry",- Check "File system",- Check "App-specific registry storage",- Un-check "In-memory registry".7. Run the %appname% installer via the JPE launchpad icon:- Accept the settings per your requirements, but make sure that the app is