okay now you'll probably not believe it but i managed to still get the error
the vbs file is now:
Code: Select all
Function FindAndReplace(textToReplace, editProp)
Const ForReading = 1
Const ForWriting = 2
pathToFile = Session.Property("APPDIR") + "resource\UI\Teammenu.res"
replaceWith = Session.Property(editProp)
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile(pathToFile, ForReading)
strText = objFile.ReadAll
objFile.Close
strNewText = Replace(strText, textToReplace, replaceWith)
Set objFile = objFSO.OpenTextFile(pathToFile, ForWriting)
objFile.WriteLine strNewText
objFile.Close
End Function
FindAndReplace "__rconpw__", "RCON"
FindAndReplace "__nick1__", "NICKONE"
FindAndReplace "__nick2__", "NICKTWO"
FindAndReplace "__nick3__", "NICKTHREE"
FindAndReplace "__nick4__", "NICKFOUR"
and it's on finalizeinstall...
still won't work

:(:(
i guess it really would be the best if you sent me the changed project so i can have a look at it and learn from it.
Oh and I get your point with the folder, thing is I didn't get what I shall do exactly and another thing is that there's no point installing this little thing if you do not have such a folder...
Greez Ojii
PS: I've uploaded my project file with all files needed again:
http://gk.tcleimbach.ch/teammenures.rar
PPS: plz send me the changed file per mail to
ojii@freenet.de or just upload it somewhere, thanks a lot for your friendly help
PPPS: I would welcome it very much if you guyz could also tell me what exactly you changed so I don't have to look through all the project

FOLLOW US
Get the latest news in Application Packaging