PDA

View Full Version : SetupBuilder and how to replace a tps



NewsArchive
09-27-2017, 12:18 PM
Hi,
I need to replace a TPS on the target machine but only if it has no records.
Any way to do it?
Thanks

--
*Alberto Michelis*
ARMi software solutions www.armisoftware.com <http://www.armisoftware.com>

NewsArchive
09-27-2017, 12:19 PM
Alberto,

> I need to replace a TPS on the target machine but only if it has no records.
> Any way to do it?

You can write and compile a DLL in LIB mode so the RTL is included and
you can run it from within the install. This DLL could open the file
and check the record count and you can use the returned value to
decide what to do or let the DLL do that for you too.

Look at these two items in the SB help...

1. #include support file
2. Call DLL Function

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"

NewsArchive
09-27-2017, 12:21 PM
> Look at these two items in the SB help...
>
> 1. #include support file
> 2. Call DLL Function

Take a look at the attached. If you're using Clarion 7 or later you
can open the PRJ file for the solution and it will create a CWPROJ and
SLN file.

This may give you a place to begin.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"

NewsArchive
09-27-2017, 12:23 PM
Hi Alberto,

Yes, absolutely no problem. Exactly what Lee said.

If you need any help with it, just let me know.

--
Friedrich Linder
Lindersoft | SetupBuilder | www.lindersoft.com
954.252.3910 (within US) | +1.954.252.3910 (outside US)

--SetupBuilder "point. click. ship"
--Helping You Build Better Installations
--Create Windows 10 ready installations in minutes
--Official COMODO Code Signing and SSL Certificate Partner