Installation nach Betriebssystemversion

Post Reply
MATSupport
Posts: 66
Joined: 31. Oct 2011, 10:41
Contact:

Installation nach Betriebssystemversion

Post by MATSupport » 02. Jul 2012, 14:48

Hallo Forum,

ich bräuchte mal einen Denkanstoss. Ich kopiere eine Datei von a nach B in das Programme Verzeichnis.
Dies ist aber mal programme, mal Programme x86.

Generell würde ich also gern eine prüfung einbauen: Wenn OS = Windows 7 x86 dann
Wenn OS Windows 7 x64 dann
und wenn OS Windows XP x86 dann.

hat das jemand schon mal gemacht und kann die prüflogik posten?

Vielen Dank

Rene
Posts: 474
Joined: 26. May 2005, 11:16
Location: Zürich
Contact:

Re: Installation nach Betriebssystemversion

Post by Rene » 02. Jul 2012, 15:02

Würde ich über das OS Flag machen so aus dem Kopf jetzt grad :)

#SET:CopyWindowsx86, WINDOWS32
#SET:CopyWindowsx64, WINDOWS64
.
.
.

[SET:CopyWindowsx86]
Kopiervorgang mit Ziel %ProgramFilesDir%

[SET:CopyWindowsx64]
Kopiervorgang mit Ziel %ProgramFilesDir%

Die Empirumvariable %ProgramFilesDir% wird von Empirum selbständig erkannt.

JeeCay
Posts: 190
Joined: 23. Apr 2009, 15:40
Location: Schüttorf
Contact:

Re: Installation nach Betriebssystemversion

Post by JeeCay » 03. Jul 2012, 08:14

Moin!

Oder als "Platform=x86" setzen und von der Quelle nach %ProgramFiles% kopieren. Dann wird bei 64bit-Systemen %ProgramFiles% = "C:\Program Files (x86)".
Das würde aber auch für WinXP x64 gelten.

Gruß

Post Reply

Return to “Administration”

Who is online

Users browsing this forum: No registered users and 4 guests