December 13, 200520 yr delete me, finally I have rewriten generate.js to my objectifs ... Edited December 13, 200520 yr by sonic
December 14, 200520 yr Author In fact, generate.js generates path %cdrom% as correct path with it runs from a local folder, but when it runs on network (I mapp to a Z: drive) the path generated becomes Z:\\Folder\MySetup.msi /qb so RunonceEx works because it can read after \\ ... but when I have regedit /s z:\\regfile.reg , regedit can't handle \\ and error .... so I have removed one \ from my config.js but after when I run from local folder path become Z:Folder\MySetup.msi /qb ........ and finally I'm boring to find the good solution so I'm thinking about other way ...So, finally I have "tuned" generate.js adding new two variables (because during my finding solution I have thinking about other possibility ^^) %apps% and %logs% ... this two paths are define in cmd environnement by my batchfile (edit: I prefer CMD environnement to find path & co ) (which it test folder if exist, network more or not & more ...) and generate.js replace path ... function replpath(u) { // softs = WshEnv("sapps"); //sapps set in batch like "set sapps="...." logs = WshEnv("slogs"); //slogs set in batch like "set slogs="...."// rs = rs.replace(/%softs%/gi, softs); rs = rs.replace(/%logs%/gi, logs);I have posted too fast so you can delete me ^^Goodbye & big great job to all contributors of wpi, I "tune" this all the day and it will be perfect soon ! Edited December 14, 200520 yr by sonic
December 22, 200520 yr Author I'M BAD VERY BAD !!!During the discovering of WPI (few months ago ...) I have edited my configs.js & useroptions.js ... and I have set discpath='root' ! why? I don't remember ... so I have many error with \\ & co. ....I have all recorrect my wpi and now works great , configs too .. I'm happy ^^ ... Now to get perfect, is it possible to search WPI.ico in parrent directory ? (I have tried but errors ...)Thanks. goodbye. Edited December 22, 200520 yr by sonic
Create an account or sign in to comment