I have a scenario where i want to show/hide application icon depending upon user's will.

I have made two sis files for this for example A.sis and B.sis.
A.sis is main application it does not include registration file in sis package.

B.sis only contain A_reg file.

I could show/hide icon on installation/uninstallation of B.sis (manually).

But i couldnt install A.sis I guess because it does not contain A_registration file.

Please help me. How can i achieve this mean i want run A.sis without icon and if user selects show icon will install B.sis from A.sis.