Apparently windows can't quite figure out where to look, because it's too dumb to think what %systemdrive% is..?
A part of the setup file:
Code: Alles auswählen
DefVar $InstallDir32$
DefVar $InstallDir64$
Set $InstallDir32$ = "%ProgramFiles32Dir%\totalcmd"
Set $InstallDir64$ = "%ProgramFiles64Dir%\totalcmd"
if ($INST_SystemType$ = "64 Bit System")
Message "Installing " + $ProductId$ + "..."
comment "Start setup program"
Winbatch_install_64
Sub_check_exitcode
comment "Copy files"
Files_install_64 /64Bit
comment "Patch Registry"
Registry_install /64Bit
Registry_install_AllProfiles /AllNTUserDats
comment "Create shortcuts"
LinkFolder_install_64
endif
[LinkFolder_install_64]
set_basefolder common_desktopdirectory
set_subfolder ""
set_link
name: Total Commander 64 Bit
target: "$InstallDir64$\Totalcmd.exe"
parameters:
working_dir: $InstallDir64$
icon_file: "$InstallDir64$\Totalcmd.exe"
icon_index: 0
end_link
http://www.gcecad-service.nl/downloads/instlog-tc.txt
Of course I can work aroud it, but it seems strange this won't work.
