ich habe ein Problem mit der Installation mit Python und dem Editor PyCharm.
Kommen wir erst mal zu Python:
Die Setup.ins sieht wie folgt aus:
Code: Alles auswählen
[Aktionen]
Message=Installing Python 2.7.9
SetLogLevel=7
ScriptErrorMessages=true
ExitOnError=true
TraceMode=Off
DefVar $InstallDir$
DefVar $PRODUCTPATH$
DefVar $MinimumSpace$
DefVar $flInstallDir$
DefVar $flInstallPathRegKey$
DefVar $flVersion$
DefVar $UninstallCommand$
Set $MinimumSpace$ = "50 MB"
Set $PRODUCTPATH$="%ProgramFilesDir64%\Python24"
set $InstallDir$=$PRODUCTPATH$
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive%
isFatalError
; Stop process and set installation status to failed
endif
if FileExists("%ScriptPath%\uninstall.ins")
comment "start uninstall"
sub "%ScriptPath%\uninstall.ins"
endif
comment "Installing python24"
winbatch_python24_install
[winbatch_python24_install]
msiexec "%SCRIPTPATH%\python-2.7.9.msi" /i /qn ALLUSERS=1
Zu PyCharm:
Ich habe im Internet nur den Parameter /S gefunden, aber das klappt damit nicht

Code: Alles auswählen
[Aktionen]
Message=Installing PyCham 4.0.5...
SetLogLevel=7
ScriptErrorMessages=true
ExitOnError=true
TraceMode=Off
DefVar $InstallDir$
DefVar $PRODUCTPATH$
DefVar $MinimumSpace$
DefVar $MozInstallDir$
DefVar $MozInstallPathRegKey$
DefVar $MozVersion$
DefVar $UninstallCommand$
Set $MinimumSpace$ = "500 MB"
Set $PRODUCTPATH$="%ProgramFilesDir64%\Pycham"
set $InstallDir$=$PRODUCTPATH$
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive%
isFatalError
; Stop process and set installation status to failed
endif
if FileExists("%ScriptPath%\uninstall.ins")
comment "start uninstall"
sub "%ScriptPath%\uninstall.ins"
endif
comment "Installing Pycham"
winbatch_pycham_install
[winbatch_pycham_install]
"%SCRIPTPATH%\pycharm-community-4.0.5.exe" /S
Hoffentlich kann mir einer bei meinem Problem helfen.
Gruß
D1Ck3n