Drekko Posted February 27, 2016 Posted February 27, 2016 Hey guys Been reading this thread and I think I am doing it all correctly with double \\ and after executing my extracter it keeps saying it cannot find the install path so its not extracting to the location I am specifying in the config.txt file: ;!@Install@!UTF-8!Title="PaperCut & Printer Installer"InstallPath="C:\\Program Files (x86)\\PaperCut Installer"BeginPrompt="Do you want to install the Papercut & Printer Installer?"ExecuteFile="C:\\Program Files (x86)\\PaperCut Installer\\PrinterVBS.vbs";!@InstallEnd@! Anyone able to help please?
SunLion Posted March 31, 2016 Posted March 31, 2016 (edited) Note that: InstallPath = %ProgramFiles% <== equivalent to "C:\Program Files" in 32 bit and "C:\Program Files (x86)" in 64 bit InstallPath = x86:%ProgramFiles% <== equivalent to "C:\Program Files" in 32 bit InstallPath = x64:%ProgramW6432% <== equivalent to "C:\Program Files" in 64 bit Also: x86: will only execute on 32bit x64: will only execute on 64bit %%T variable is equal to the InstallPath So you could try: 1 - If you choose to use "C:\Program Files" in 32 bit and "C:\Program Files (x86)" in 64 bit: ;!@Install@!UTF-8! GUIMode="2" Title="PaperCut & Printer Installer" InstallPath="%ProgramFiles%\\PaperCut Installer" BeginPrompt="Do you want to install the Papercut & Printer Installer?" RunProgram="cscript %%T\\PrinterVBS.vbs" ;!@InstallEnd@! 2 - Or, If you choose to use "C:\Program Files" in 32 bit and also "C:\Program Files" in 64 bit: ;!@Install@!UTF-8! GUIMode="2" Title="PaperCut & Printer Installer" InstallPath="x64:%ProgramW6432%\\PaperCut Installer" InstallPath="x86:%ProgramFiles%\\PaperCut Installer" BeginPrompt="Do you want to install the Papercut & Printer Installer?" RunProgram="cscript %%T\\PrinterVBS.vbs" ;!@InstallEnd@! Try and check if it works Edited March 31, 2016 by SunLion
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