PDA

View Full Version : C11.1 3rd party installs



NewsArchive
05-24-2021, 08:14 AM
I'm perplexed, yes - nothing odd for me<g>, but my install registers
the templates correctly but fails to unregister them when uninstalled.

The TPL/TPW files are removed as expected but the TRF is not updated.

Any ideas?

--
Lee White

RPM Report Preview: http://www.cwaddons.com/products/rpm/
Creative Reporting: http://www.CreativeReporting.com

Hydrogen, the only CLEAN fuel and the future of clean air.

NewsArchive
05-24-2021, 08:16 AM
> Any ideas?

Recompiled the install and the problem persists. The TPL's install
correctly and the actual disk files are deleted during uninstall but
the template registry remains as if the TPL files are still there.

I've included the only sections of the uninstall log where the TPL
files are indicated, does anything appear to be wrong here?

Did something get broken somewhere????

Lee White


|000|2021-05-23|12:59:02|ADMIN|{6CC122B0-B1CF-11EB-3D6C-0013104F4AE1}|0
|900|Uninstalling Software
...
|006|_0004_|I:\Clarion11.1\accessory\template\win\ ncr_abc.tpl|83|2021/05/22|13:58:00||26471|A44B6D86||0|
|006|_0004_|I:\Clarion11.1\accessory\template\win\ RPM_ABC.TPL|84|2021/05/22|13:58:00||3198|68473C6E||0|
|006|_0004_|I:\Clarion11.1\accessory\template\win\ RPM_DD.TPL|85|2021/05/22|13:58:00||93383|2A0B8350||0|
|006|_0006_|I:\Clarion11.1\accessory\template\win\ ncr.tpl|87|2021/05/22|13:58:18||26920|AA2A95B0||0|
|006|_0006_|I:\Clarion11.1\accessory\template\win\ rpm.tpl|88|2021/05/22|13:58:18||2560|6664CAE7||0|
...
|165|I:\Clarion11.1\Bin|I:\Clarion11.1\accessory\t emplate\win\ncr_abc.tpl
|165|I:\Clarion11.1\Bin|I:\Clarion11.1\accessory\t emplate\win\RPM_ABC.TPL
|165|I:\Clarion11.1\Bin|I:\Clarion11.1\accessory\t emplate\win\RPM_DD.TPL
|165|I:\Clarion11.1\Bin|I:\Clarion11.1\accessory\t emplate\win\ncr.tpl
|165|I:\Clarion11.1\Bin|I:\Clarion11.1\accessory\t emplate\win\rpm.tpl

NewsArchive
05-24-2021, 08:16 AM
I don't think I've ever used automated uninstall of templates, but I
wonder if you could just replace your main .TPL file with a do-nothing
stub, then register it and delete it?

Jeff Slarve
www.jssoftware.com

I will occassionally post some of my automagraph images here:
https://twitter.com/automagraph
They are mostly created with my Clarion/ImageEx app.

NewsArchive
05-24-2021, 08:16 AM
Jeff,

> I don't think I've ever used automated uninstall of templates, but I
> wonder if you could just replace your main .TPL file with a do-nothing
> stub, then register it and delete it?

All my past installs have supported it and worked. If you uninstall
RPM, AFE, PNet or CRT the templates registered during the install are
uninstalled with, I assume, calls to ClarionCL which is used to
install them.

I'm going to wrap up the 11.1 installs shortly but I'd like the
behavior to remain as it was.

After I get the 11.1 installs out and wrap up some needed work for my
contracts I'll invest the time to do some deep testing with AS which I
hope to do early June.

--
Lee White

RPM Report Preview: http://www.cwaddons.com/products/rpm/
Creative Reporting: http://www.CreativeReporting.com

Hydrogen, the only CLEAN fuel and the future of clean air.

NewsArchive
05-24-2021, 08:17 AM
Hi Lee,

> Recompiled the install and the problem persists. The TPL's install
> correctly and the actual disk files are deleted during uninstall but
> the template registry remains as if the TPL files are still there.
>
> I've included the only sections of the uninstall log where the TPL
> files are indicated, does anything appear to be wrong here?

RED issue or /ConfigDir??? It's like it doesn't find the TPL files and
those two are the only things I can think of that might break that - but
then I'd expect that to happen also when registering... Maybe the .tpl
files have already been removed when the unregistering happens?

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
05-24-2021, 08:17 AM
Arnor,

> RED issue or /ConfigDir??? It's like it doesn't find the TPL files and
> those two are the only things I can think of that might break that - but
> then I'd expect that to happen also when registering... Maybe the .tpl
> files have already been removed when the unregistering happens?

If anything it would be /ConfigDir but it's always worked in the past
so I'm lost as to the cause.

--
Lee White

RPM Report Preview: http://www.cwaddons.com/products/rpm/
Creative Reporting: http://www.CreativeReporting.com

Hydrogen, the only CLEAN fuel and the future of clean air.

NewsArchive
05-25-2021, 05:33 AM
Lee,

just checked this with my internal LSZip install (C11.0 & C11.1 compliant)
and unregistration works without any problem here. Tested it on different
machines with different C11.1 pre-releases.

Does it also fail if you are *not* using /ConfigDir?

Friedrich

NewsArchive
05-25-2021, 05:33 AM
Friedrich,

> just checked this with my internal LSZip install (C11.0 & C11.1 compliant)
> and unregistration works without any problem here. Tested it on different
> machines with different C11.1 pre-releases.
>
> Does it also fail if you are *not* using /ConfigDir?

I'll have to wait to see. The VM that I use for that work imploded and
I'm getting ready to do a restore from my offsite backup.

I should have stayed in bed today, nothing seems to be going right!<g>

--
Lee White

RPM Report Preview: http://www.cwaddons.com/products/rpm/
Creative Reporting: http://www.CreativeReporting.com

Hydrogen, the only CLEAN fuel and the future of clean air.

NewsArchive
05-25-2021, 05:34 AM
>> Does it also fail if you are *not* using /ConfigDir?
>
> I'll have to wait to see. The VM that I use for that work imploded and
> I'm getting ready to do a restore from my offsite backup.
>
> I should have stayed in bed today, nothing seems to be going right!<g>

<G>

I'll test it again with /ConfigDir tomorrow (already 10 PM here).

Friedrich

NewsArchive
05-25-2021, 05:35 AM
Friedrich,

> I'll test it again with /ConfigDir tomorrow (already 10 PM here).

First, this IS using /ConfigDir but with no = or path.

Second, I broke it all now... the TPL's won't even register! I'm tired
of breaking stuff today so I'll continue tomorrow - hopefully NOT
breaking anything else!!!!!!<g>

--
Lee White

RPM Report Preview: http://www.cwaddons.com/products/rpm/
Creative Reporting: http://www.CreativeReporting.com

Hydrogen, the only CLEAN fuel and the future of clean air.

NewsArchive
05-25-2021, 05:37 AM
Re-tested to be on the safe side. The LSZip installer registeres the
templates and the uninstaller unregisteres here (C11.1 with no /ConfigDir).

Friedrich