boc
07-16-2003, 05:09 AM
Hi,
I am making an application that will be run from cd-rom. It will not be installed on the user's hard-drive. But still the components and references used for my application have to be installed on the hard-drive. I wrote a setup-script for INNO that does this correctly.
Now, I want the CD to autorun. If the setup has not been run before, it has to autorun setup, otherwise it has to run the application.
How do i detect if setup has been executed already? Do i have to make a vb-application that checks the registry and depending on the outcome, run either setup or the application itself? Or is there a much simpler way for doing this?
Boc
I am making an application that will be run from cd-rom. It will not be installed on the user's hard-drive. But still the components and references used for my application have to be installed on the hard-drive. I wrote a setup-script for INNO that does this correctly.
Now, I want the CD to autorun. If the setup has not been run before, it has to autorun setup, otherwise it has to run the application.
How do i detect if setup has been executed already? Do i have to make a vb-application that checks the registry and depending on the outcome, run either setup or the application itself? Or is there a much simpler way for doing this?
Boc