R
RB Smissaert
I have an INNO setup file that installs (loads) a .xla add-in via COM. This
is the INNO code:
oXL := CreateOleObject('Excel.Application');
oXL.Workbooks.Add;
oAddin :=
oXL.Addins.Add(ExpandConstant('{app}\Program\SynergyReportingLoader.xla'),
true );
oAddin.Installed := true;
oXL.Quit;
For some reason I now get the message from INNO (but generated by Excel):
Unable to read file.
When I do OK and carry on installing all is fine and there are no problems.
I don't get the same message
when I start Excel with that .xla loaded, so there is no serious problem,
but I am still interested to know
how this message could happen. I have done a lot of Googling and tried all
the suggested remedies for this,
but no difference. This is Excel 2003. I don't get the message on another
machine.
BTW, adding this tot the INNO script stops the message:
oXL.DisplayAlerts := false;
I think the chance is slim somebody knows the answer to this, but you never
know and thanks in advance.
Have posted this to the INNO group, but no insight from there.
RBS
is the INNO code:
oXL := CreateOleObject('Excel.Application');
oXL.Workbooks.Add;
oAddin :=
oXL.Addins.Add(ExpandConstant('{app}\Program\SynergyReportingLoader.xla'),
true );
oAddin.Installed := true;
oXL.Quit;
For some reason I now get the message from INNO (but generated by Excel):
Unable to read file.
When I do OK and carry on installing all is fine and there are no problems.
I don't get the same message
when I start Excel with that .xla loaded, so there is no serious problem,
but I am still interested to know
how this message could happen. I have done a lot of Googling and tried all
the suggested remedies for this,
but no difference. This is Excel 2003. I don't get the message on another
machine.
BTW, adding this tot the INNO script stops the message:
oXL.DisplayAlerts := false;
I think the chance is slim somebody knows the answer to this, but you never
know and thanks in advance.
Have posted this to the INNO group, but no insight from there.
RBS