j_h3000 Posted June 25, 2006 Posted June 25, 2006 Here is another challenge how can we make WPI check if the program is allready installed on the disksay i want to check if acdsee is installed so it should check if the file "%programfiles%\ACD Systems\ACDSee\8.0.Pro\ACDSee8Pro.exe"existand if so, WPI will forbid the installation of acdseecould it be done using the conditions box ?I hope you guys understand what i mean and thanks alot for all your help
Kelsenellenelvian Posted June 25, 2006 Posted June 25, 2006 Actually you use "Grayed condition" for that:FileExists('%programfiles%\ccleaner\ccleaner.exe')
j_h3000 Posted June 25, 2006 Author Posted June 25, 2006 Actually you use "Grayed condition" for that:FileExists('%programfiles%\ccleaner\ccleaner.exe')thanks kellsenellenelviani'll try it soon
kev_147 Posted June 25, 2006 Posted June 25, 2006 did you want WPI to check to see if an appliaction is already installed within Windows or is available on the CD to install?As I understand it, if you want to check if something should be available to install then you use cond, and if you want to check if something has already been installed then you use gcond.If you use cond, I would suggest browse for the file that you call in cmd1 and if you use gcond, i would suggest you use the uninstall key in HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\ProgName or GUID\DisplayVersion or something relevant in here.
kev_147 Posted June 26, 2006 Posted June 26, 2006 I tried to use a gcond today to check a registry key, but it didn't seem to work so if you get that working, please let me know
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