Cere4l Posted January 25, 2007 Posted January 25, 2007 o_Oi modified my WPI ages ago and when i noticed these topics i started reading them. i figured that a newer WPI then mine would already have these functions but apparantly not.. mine was origionally 2. something.i created a new variable named fullpathcmd1[pn]=['%FullPath%\\Install\\ACDpro\\ACDSeepro.msi /qn <-- like thereand in generate.jsvar FullPath = window.location.pathname.replace(/WPI.hta/, "") plus the rs = rs.replace(/%FullPath%/gi, FullPath);These two lines make it work from ANY location besides network shares. (which can be solved from a batch file as posted elsewhere here.) cd-rom or hd or stepped away in whatever folder.unless im reading wrong here this would be alot smaller than what you currently have.
pmshah Posted February 2, 2007 Posted February 2, 2007 (edited) In stead of editing the config file every time there is a change in the installation file I simply run a cmd file. I include the following lines to start in the background & determine the cdrom drive letter.cmdow @ /hidfor %%i in (Z Y X W V U T S R Q P O N M L K J I H G F E D C) do if exist %%i:\XXXX_YYYY set CDROM=%%i:You can replace the XXXX_YYYY with any valid file name.No need for any fancy scripting. If any changes are required I simply edit the cmd file. That includes all the reg entries etc that may be required. Edited February 2, 2007 by pmshah
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now