#include #include #include #include #include "bainst.h" #include "bainst07.h" bool all_ok; class TInstall_CG : public TInstallmodule_app { private: bool CreaExeIni(const char * exename); protected: virtual bool modal() const {return FALSE;} virtual int module_number() const {return CGAUT;} virtual bool install_firm() {return TRUE;} // no firm installation virtual bool post_installer(); public: virtual ~TInstall_CG () {} }; // crea il .ini per i files exe copiati nella directory di EASYCAMPO bool TInstall_CG ::CreaExeIni(const char * exename) { return TRUE; } bool TInstall_CG ::post_installer() { bool ok=TRUE; // copia dll (ex file PRASSI.PR inst.exe // ok &= CreaExeIni("CB0000.EXE"); // ok &= CreaExeIni("TRRICE.EXE"); // ok &= CreaExeIni("VCOPIA.EXE"); return ok; } int bainst07(int argc, char** argv) { TInstall_CG app; app.run(argc, argv); return 0; }