Posts posted by Doc Symbiosis
-
-
Edited by Doc Symbiosis
just call the apps with UNCpath in Runonceex.cmd, I did this, before I began using the WPI. Just use something like "\\myserver\myshare\install\myapp\setup.exe /s".
For some installers, you need to connect the share to a drive letter first, so you could run "net use z: \\mysever\myshare" and later in runonceex you could use "z:\install\myapp\setup.exe /s"
Of course in these two cases, you have to make sure, that the network is available and the account, you're running the installation under, has access to the share.
-
-
-
-
Perhaps have a try with Autohotkey
Helped me alot to improve the usability of my system.
Here is a project for a nicely preconfigured Autohotkey environment with a few quite useful additions
http://www.heise.de/ct/ftp/05/22/210/activaid_exe.zip.
Unfortunately the homepage of the project http://www.heise.de/ct/ftp/05/22/210/ is in german, but the programm is in english.
The download refers to a standalone running program, the activeaid.zip containing the sourcefiles also is available on the homepage.
-
-
Edited by Doc Symbiosis
First thing, you shouldn't use this way to set the mydoc variable
Set MYDOC=%%a:\Documents And Settings\%USERNAME%
because you can't be sure, that this really is your profilepath.
You should better use the environment variable %Userprofile%
Set MYDOC=%USERPROFILE%
Other thing is, I wonder, why you use the %MYDOC% to times in the path?
REG ADD %KEY%\001 /V 1 /D "REGEDIT /S AppData"="%MYDOC%\\Documents and Settings\\%MYDOC%\\Application Data"
In any case, the error comes up, because there are spaces in the path to your profiledirectory, so regedit takes them as different parameters. To avoid this, enclose the path in "triple double quotes"
"Appdata"=""""%MYDOC%\\Application Data""""
-
-
To use the exclude option in xcopy, you have to create a file containing strings, one in each line. Then you have to point xcopy to this file and then the files, whose full qualified path contain any of the strings, is excluded.
So much to the theory, but unfortunately I didn't get this to work, even with a created file.
But perhaps, the following line helps you for the first.
xcopy "%USERPROFILE%\Start Menu\Programs\*" "C:\Windows\Temp\ExamConv Moved Files\" /IEC
-
I wanted to test a new version of WPI and since I don't want to copy my whole app-directory to the test-version.
So is it possible in XP to make an folder alias like in linux or MacOS? Means, that for example I want the folder c:\install\setupfiles just be a pointer to the folder d:\setupfiles, so that when I run "dir c:\install\setupfiles", the actual content of d:\setupfiles is displayed.
Any help would be appreciated.
Title edited -- Please, use [TAGS] in your topic's title.
Please follow XP Forum Rules from now on.
--Sonic
-
-
-
-
Edited by Doc Symbiosis
O.k., I should have pointed out to use this with caution.
Everyone who wants to use this should understand, what these lines mean.
I run this in my unattended installation right after WPI is executed as final step and so there's no problem using this then.
By the way, I searched a while ago for an automated solution for this, but didm't find another one.
-
-
To do this automated, use a batch containing the following code
start /wait reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu" /f
start /wait reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2" /f
start /wait taskkill /im explorer.exe /F
start explorer.exe -
-
-
-
-
Hi there,
I've tried to find a way to install sophos 5 silently, but hadn't any success.
Allthough I don't like AutoIT, I wrote the following script
AutoItSetOption("TrayIconHide", 0)
AutoItSetOption("WinTitleMatchMode", 4)
BlockInput(1)
;open Setup
Run("sophos_setup.exe")
;Welcome Screen
WinWaitActive("Sophos Anti-Virus Installations-Wizard")
Send("{ENTER}")
;Choose folder
WinWaitActive("Sophos Anti-Virus Installations-Wizard")
Send("{ENTER}")
;Choose data for automatic updates ( enter data later )
WinWaitActive("Sophos Anti-Virus Installations-Wizard")
Send("!i")
Send("{ENTER}")
;Start installation
WinWaitActive("Sophos Anti-Virus Installations-Wizard")
Send("{ENTER}")
;Finish installation
WinWaitActive("Sophos Anti-Virus Installations-Wizard")
Send("{ENTER}")Problem is, that the last ENTER to finish the installation isn't send.
I would be glad to get any help.
-
-
-
Edited by Doc Symbiosis
To set the expiring of passwords globally use the following line:
net accounts /maxpwage:unlimited
Don't know, how to set this for a single user.
You only have to run this command once, cause it's set per machine, but you should take care to run this command before creating the new users.
The other users are members of the groups users and administrators, because when they are created, they are added to the users group and then you add them to the administrators group. So you just have to remove the new created administrators from the users group with the, so e.g.
net user jmason xxxxxx /add
net localgroup Administrators jmason /add
net localgroup users jmason /delete
email automatic
in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
·
Edited by Doc Symbiosis
I use postie, another easy to use commandline-mailing tool. Find it a little more usable than bmail, cause with bmail I had some trouble sending attachments within the mail.