I use the following in Post install action:
Registry.SetValue(HKEY_CLASSES_ROOT, ".gbl", "", "GBLight", REG_SZ);
Registry.SetValue(HKEY_CLASSES_ROOT, "GBLight\\shell\\open\\command", "",SessionVar.Expand("%AppFolder%\\GBLightSP.exe\\ \"%1\""), REG_SZ)
Registry.SetValue(HKEY_CLASSES_ROOT, "GBLight\\DefaultIcon", "", SessionVar.Expand("%AppFolder%\\LogoLight.ico,0"), REG_SZ);
EXE not accosiated nad file not associated with Icon.
Registry.SetValue(HKEY_CLASSES_ROOT, ".gbl", "", "GBLight", REG_SZ);
Registry.SetValue(HKEY_CLASSES_ROOT, "GBLight\\shell\\open\\command", "",SessionVar.Expand("%AppFolder%\\GBLightSP.exe\\ \"%1\""), REG_SZ)
Registry.SetValue(HKEY_CLASSES_ROOT, "GBLight\\DefaultIcon", "", SessionVar.Expand("%AppFolder%\\LogoLight.ico,0"), REG_SZ);
EXE not accosiated nad file not associated with Icon.
Comment