Hallo zusammen,
ich suche nach einer Möglichkeit in alle Benutzerprofile eine Verzeichnisstrucktur mit Datein zu installieren und diese alle bei einer Deinstallation wieder zu löschen.
Für vorschläge bin ich sehr dankbar.
Gruß
Rainer
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Installation in alle Benutzerprofile
Started by
rja
, Apr 18 2005 09:48
1 reply to this topic
Posted 12 May 2005 - 17:24
Hallo und guten Tag,
hab eine Lösung für das löschen gefunden.
:VBS Script
Set fso = CreateObject("Scripting.FileSystemObject")
Set objFolder = fso.GetFolder("C:\Documents and " & _
"Settings")
For Each Profile In objFolder.SubFolders
Select Case UCase(Profile.Name)
Case "ADMINISTRATOR", "ALL USERS", "DEFAULT USER"
'Do nothing
Case Else
fso.DeleteFolder Profile.Path, True
End Select
Next
Danke für das lesen.
hab eine Lösung für das löschen gefunden.
:VBS Script
Set fso = CreateObject("Scripting.FileSystemObject")
Set objFolder = fso.GetFolder("C:\Documents and " & _
"Settings")
For Each Profile In objFolder.SubFolders
Select Case UCase(Profile.Name)
Case "ADMINISTRATOR", "ALL USERS", "DEFAULT USER"
'Do nothing
Case Else
fso.DeleteFolder Profile.Path, True
End Select
Next
Danke für das lesen.