hat jemand vielleicht einen Codeschnipsel if/else etc. um 32 bzw. 64 Bit abzufragen?
Anfang um Win7 festzustellen:
Code: Alles auswählen
if ($MinorOS$ = "Windows Vista") AND ($INST_NTVersion$ = "6.1")
Danke Vorab!
MH
Code: Alles auswählen
if ($MinorOS$ = "Windows Vista") AND ($INST_NTVersion$ = "6.1")
Code: Alles auswählen
Set $INST_SystemType$ = GetSystemType
Set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
....
endif
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
....
endif