Ok folks. I followed the above example and it worked perfectly. :thumbsup:Quote:
Originally Posted by 'Duomages',index.php?page=Thread&postID=59700#post 59700
Ok folks. I followed the above example and it worked perfectly. :thumbsup:Quote:
Originally Posted by 'Duomages',index.php?page=Thread&postID=59700#post 59700
*Takes big breath* My first needing help post. I have soo been trying to avoid this...ggrrr...OK, Running windows vista home premium. I followed your instructions.
1. I got and downloaded powershell v1 (did not see a link to v2 that was mentioned from powershell site)
2. Made the c:\bin directory and added it to the path variable.
3. Saved the text file there as New-Wow.ps1.
4. Ran powershell in admin mode.
5. Gave it the command to Set-ExecutionPolicy Unrestricted
6. Ran the command new-wow c:\!games\wow1,c:\!games\wow2 -sourcePath c:\!games\World of Warcraft
Here is where the problems begin. I recieved the following error
Source directory does not exist
At c:\Bin\New-Wow.ps1:62 char:42
+ if (-not (Test-Path $sourcePath)) { throw 'Source directory does not exist' }
Does powershell not like the ! perhaps in the name of my custom install directory? (c:\!games\World of Warcraft)
Also, for future reference, is there a way to copy and paste errors from powershell? Highlighting and ctrl-c did not work. (my DOS days are so far in the past I have forgotten most of what I knew)
More likely Windows does not like the !games. Can you really create a directory called !something?
Try quoting the sourcePath arg like this:
Code:new-wow ... -sourcePath 'c:\!games\whatever'
I have been doing that for years so that my games directory is always on top of the directory list in windows explorer. This is the first time it has been a problem. I'll note that while powershell did not like the !, the bat file approach did not have issues with it. *shrugs* I'll have to give your suggestion a try later as I really am not keen on the bat file approach, but at least it works for me. I guess that is what I get for having a custom install. I have never liked my games in the program files tree, so I always made the c:\!Games directory for my games.Quote:
Can you really create a directory called !something?
Sorry, I wasn't thinking when I typed the above. The problem is the spaces in your path, not the "!". PowerShell doesn't know that c:\!games\World of Warcraft is all supposed to be part of the sourcePath argument. Quoting the path should fix you up.
a million times easier than running scripts (I prefer going to the dentist :P) - works like dream on Vista 32bit and had it up and running in 10 mins.Quote:
Originally Posted by 'konraddo',index.php?page=Thread&postID=96941#post 96941
Page 1 in this old thread had mostly what I wanted. I'm not sure if some files have changed with recent patches or maybt its something else. But I was getting errors when I tried to run the earlier bat file. This is what I'm using now.
**// copy /interface and /wtf folders on your own first! //**
Code:
md Errors
md Logs
mklink /d Cache "C:\WoW-Main\Cache"
mklink /d Data "C:\WoW-Main\Data"
mklink /d Patches "C:\WoW-Main\Patches"
mklink /d Screenshots "C:\WoW-Main\Screenshots"
mklink /d WDB "C:\WoW-Main\WDB"
mklink "BackgroundDownloader.exe" "C:\WoW-Main\BackgroundDownloader.exe"
mklink "Battle.net.dll" "C:\WoW-Main\Battle.net.dll"
mklink "BNUpdate.exe" "C:\WoW-Main\BNUpdate.exe"
mklink "dbghelp.dll" "C:\WoW-Main\dbghelp.dll"
mklink "DivxDecoder.dll" "C:\WoW-Main\DivxDecoder.dll"
mklink "ijl15.dll" "C:\WoW-Main\ijl15.dll"
copy "C:\WoW-Main\Launcher.exe" Launcher.exe
mklink "Microsoft.VC80.CRT.manifest" "C:\WoW-Main\Microsoft.VC80.CRT.manifest"
mklink "msvcr80.dll" "C:\WoW-Main\msvcr80.dll"
mklink "Patch.html" "C:\WoW-Main\Patch.html"
mklink "Patch.txt" "C:\WoW-Main\Patch.txt"
mklink "Repair.exe" "C:\WoW-Main\Repair.exe"
mklink "Scan.dll" "C:\WoW-Main\Scan.dll"
mklink "unicows.dll" "C:\WoW-Main\unicows.dll"
copy "C:\WoW-Main\Wow.exe" WoW.exe
mklink "WowError.exe" "C:\WoW-Main\WowError.exe"
Missing the file you need to run the script. Could someone please repost it?
When I used this I had to delete the links to WoW.exe and copy-paste WoW.exe from master.
Then, run Launcher for a few minutes in each slave.
After that, things seemed to work.