04-10-2008 10:04 AM
04-10-2008 11:00 AM
04-10-2008 11:46 AM
04-10-2008 12:06 PM
04-11-2008 02:16 AM - edited 04-11-2008 02:20 AM
"Of course, if for some reason you do need to both install some components and also initiate every use of your application from a CD, then you can have some logic in your autorun that looks for an existing installation (perhaps checks for a registry key or system file) and launches the installer if it's not found."
Hello Mert A.
Yes, that is what I want to do with my autorun CD. Is there any way to do that? I mean if there is any instruction that let me check for a registry? I ask that (if you know it) becuase, although I am not a professional doing autorun CDs I think there isn`t any instruction that let me do that. I think the instructions that can be writen in an autorun are: shell, shellexecute, open, icon, label, and none of them let me check for that registry. Maybe I could do it in the source code of my programe in Labwindows before loading the panel?
So like you said my point is: run my autorun.inf file where I check if the cvirte.dll and all the libraries dependecies are installed in the target PC and if there aren`t installed then run setup.exe (installer made with Labwindows and then run from the CD the other programe) and if the libraries are installed just run my programe.exe (executable made with labwindows) without installing the libraries again.
I`m afraid that my idea is a little odd, so if I don`t find out the solution I`ll do what you said about installin the programe and all the files needed to run it without the CD.
Thanks a lot, and sorry for bothering so much.
04-14-2008 12:50 PM
04-15-2008 02:17 AM