You are here

Writing Pre-Set registry & files settings Question

4 posts / 0 new
Last post
GothicDeath
Offline
Last seen: 12 years 10 months ago
Joined: 2011-01-13 07:39
Writing Pre-Set registry & files settings Question

Ok. I have this all about working know. But still having a little problems. Got a few apps that I need the presetting to write/over right the files & to registry before launch of app and then backup after launch and written to the "data" folder.

I have the need files pre-set files & the portableapp.reg key in "app\defaultdata" folder. I need that information to be place back in reg and the files to be placed in a specific location and read on launching app.

What do I need to add to the launcher ini to do this?

Thanks

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 8 months ago
Developer
Joined: 2008-09-30 19:18
more info?

it would help to know what files/directories/registry settings your trying to work with, as well as what you have in your launcher.ini so far.

GothicDeath
Offline
Last seen: 12 years 10 months ago
Joined: 2011-01-13 07:39
This is what I have in my

This is what I have in my launcher.ini so far (using 2.1 beta 2 launcher). I need the files in the "DefaultData" folder to write to C:\ProgramData\ and then the app read thous pre-set files and not the ones it will make if nothing in the folder.


[Activate]
Registry=true

[Launch]
LaunchAppAfterSplash=true
ProgramExecutable=IObit\Game Booster\GameBooster.exe
WorkingDirectory=%PAL:AppDir%\IObit\Game Booster
SinglePortableAppInstance=true
WaitForEXE1=Boost.exe
WaitForEXE2=GameBox.exe
waitForEXE3=gbinit.exe
WaitForEXE4=TaskSchedule.exe

[Environment]
PATH=%PATH%;%PAL:AppDir%\IObit\Game Booster
HOME=%PAL:DataDir%\settings

[FileWrite1]
Type=replace
File=%PAL:DataDir%\
Replace=%PAL:DataDir%\

[DirectoriesMove]
IObit=%ALLUSERSAPPDATA%\IObit

[DirectoriesCleanupIfEmpty]
1="%ALLUSERSPROFILE%\Application Data\IObit"

[RegistryValueBackupDelete]
1="HKCU\Software\Microsoft\Windows\CurrentVersion\Run\Game Booster"

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 8 months ago
Developer
Joined: 2008-09-30 19:18
why?

Game Booster Portable is already available here (which happens to be made by me)

I'm planning on posting an update Sunday (then you can see what the final project is).

Log in or register to post comments