Hi All,
Please look at the following piece of IS script code in one Custom Action,
set installCatalog = CreateObject ("COMAdmin.COMAdminCatalog");
set installApp = installCatalog.GetCollection("Applications");
installApp.Populate;
countApp = installApp.Count;
for i = countApp-1 downto 0 step 1
nResultInstall = ListGetFirstString (listList2, svStringInstall);
while (nResultInstall != END_OF_LIST)
set components = installApp.GetCollection("Components", installApp.item(i).Key);
components.Populate;
totalCom = components.Count;
for k = totalCom-1 downto 0 step 1
dllName = components.item(k).value("DLL");
progID = components.item(k).value("ProgId");
The entire code is working except the last line.
I am able to get the dllName, but I am not getting the ProgID.
Can anybody help me in this.
Thanks,
Bhanu Prakash.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Error while getting ProgID in InstallScript
Started by
bhanuprakash
, Sep 13 2003 14:37
1 reply to this topic
Posted 15 September 2003 - 15:06
Just a guess: are those entries case sensitive? In this case try ProgID instead of ProgId.
Stefan Krüger
InstallSite.org twitter facebook