You are here

Problem with make Portable

2 posts / 0 new
Last post
Genolf
Offline
Last seen: 14 years 5 months ago
Joined: 2010-07-08 09:05
Problem with make Portable

Folder "DaleSoft Support\DaleSoft 2" in $APPDATA will not created and copied files back to Backup. I think the spaces are the problem...

Would be very happy, if someone can help me or give a suggestion, many thanks. Smile

; **************************************************************************
; ==== Portable Start ====
; **************************************************************************

Section "Main"

IfFileExists "Backup\*.*" +1
CreateDirectory "$APPDATA\DaleSoft Support\DaleSoft 2"
CopyFiles /SILENT "$EXEDIR\Backup\*.*" "$APPDATA\DaleSoft Support\DaleSoft 2"

SetOutPath "Ordner"
ExecWait "$EXEDIR\Ordner\Datei.exe"

CreateDirectory "$EXEDIR\Backup"
CopyFiles /SILENT "$APPDATA\DaleSoft Support\*.*" "$EXEDIR\Backup"

RMDir /r "$APPDATA\DaleSoft Support"

SectionEnd
Genolf
Offline
Last seen: 14 years 5 months ago
Joined: 2010-07-08 09:05
Solved!

Completely rewritten, now it works Smile

Log in or register to post comments