PDA

View Full Version : autorun to read to registry



raghu123
07-07-2003, 10:37 PM
Hi,

I have a requirement where in autorun must be
able to read the registry before installation.
if my product is already installed, then
i need to load my x.exe
else
welcome screen of the installer should be shown.

Regards,
Sachin

RobertDickau
07-08-2003, 07:20 AM
I haven't looked at any of them, but perhaps see www.installsite.org > Related Tools > CD Autorun and Setup Launchers.

I believe DemoShield (www.installshield.com/ds) can also do this for you.

Pradyumna
07-10-2003, 08:46 AM
Hi Sachin,

If I am not wrong you want to launch this x.exe without displaying any InstallShield Setup dialog & display the dialog only if the product is not installed.

But according to me it is not possible to interfere (i.e. insert a Custom Action in IS-developer OR calling a function in IS-Professional ) the setup before it displays any of its own dialogs.

Earliest you can call a CA in ISDeveloper is.. insert a CA immediately after ISCleanUpSuspend & ISD will automatically give it a valid sequence number.

When you click on .MSI it is the first action invoked.

I faced similar situation before. Solved it by a small MFC exe to check registry & start application OR setup.exe. (& call this exe in AutoRun). Ofcourse I didn't want flashy kind of animation to be displayed for all this as DemoShield does.

I think what InstallShield suggests is to buy another product of theirs for the same purpose i.e. DemoShield.


Do get back if you can solve it.
This situation has to be faced quite often.

Thanks
Pradyumna