Patch level :10.0 344
Files correlati : Ricompilazione Demo : [ ] Commento : sistemato problema sui file **fconv.ini in fase di postinstallazione su quello schifo di Vista git-svn-id: svn://10.65.10.50/trunk@19026 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
9195850fa4
commit
a222f2c19d
@ -51,6 +51,8 @@ public:
|
|||||||
|
|
||||||
inline TCreazione_dischi& app() { return (TCreazione_dischi&)main_app(); }
|
inline TCreazione_dischi& app() { return (TCreazione_dischi&)main_app(); }
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __FCONV__
|
||||||
class TFconv_ini : public TConfig
|
class TFconv_ini : public TConfig
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -59,7 +61,7 @@ public:
|
|||||||
TFconv_ini(const char* path = "fconv.ini") : TConfig(path) { }
|
TFconv_ini(const char* path = "fconv.ini") : TConfig(path) { }
|
||||||
virtual ~TFconv_ini() { }
|
virtual ~TFconv_ini() { }
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
// costruisce la lista del modulo e dei suoi sottomoduli interni
|
// costruisce la lista del modulo e dei suoi sottomoduli interni
|
||||||
// vengono creati solo i sottomoduli che contengono almeno
|
// vengono creati solo i sottomoduli che contengono almeno
|
||||||
@ -308,20 +310,21 @@ void TInstall_ini::export_module_paragraphs(const char* module, const char* summ
|
|||||||
mod = module;
|
mod = module;
|
||||||
if (sub >= 0) mod << sub;
|
if (sub >= 0) mod << sub;
|
||||||
if (set_paragraph(mod))
|
if (set_paragraph(mod))
|
||||||
export_paragraph(mod, summary,remove_old);
|
export_paragraph(mod, summary, remove_old);
|
||||||
}
|
}
|
||||||
// esporta la lista di eventuali files da eliminare (sono i killed)
|
// esporta la lista di eventuali files da eliminare (sono i killed)
|
||||||
mod = module;
|
mod = module;
|
||||||
mod << 99;
|
mod << 99;
|
||||||
if (set_paragraph(mod))
|
if (set_paragraph(mod))
|
||||||
export_paragraph(mod, summary,remove_old);
|
export_paragraph(mod, summary, remove_old);
|
||||||
|
|
||||||
|
#ifdef __FCONV__
|
||||||
if (remove_old)
|
if (remove_old)
|
||||||
{
|
{
|
||||||
// esporta le info di conversione
|
// esporta le info di conversione
|
||||||
TFilename path;
|
TFilename path;
|
||||||
TInstall_ini inst(summary);
|
TInstall_ini inst(summary);
|
||||||
if (inst.name()==inst.default_name())
|
if (inst.name() == inst.default_name())
|
||||||
{
|
{
|
||||||
path = inst.name().path();
|
path = inst.name().path();
|
||||||
path.add(module); path << "fconv.ini";
|
path.add(module); path << "fconv.ini";
|
||||||
@ -336,6 +339,7 @@ void TInstall_ini::export_module_paragraphs(const char* module, const char* summ
|
|||||||
fconv.export_module(module, path);
|
fconv.export_module(module, path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const TString& TInstall_ini::version(const char* module)
|
const TString& TInstall_ini::version(const char* module)
|
||||||
@ -433,6 +437,8 @@ void TInstall_ini::prices(const char* module, word users, real& full, real& assi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __FCONV__
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
// TFconv_ini
|
// TFconv_ini
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
@ -469,6 +475,7 @@ void TFconv_ini::export_module(const char* module, const char* summary)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
// Maschera composizione del modulo
|
// Maschera composizione del modulo
|
||||||
@ -1450,6 +1457,7 @@ bool TCreadischi_mask::creazip_handler(TMask_field& f, KEY k)
|
|||||||
|
|
||||||
if (fm.zip_module(module, agg, m.get_int(S_PATCHLEVEL)))
|
if (fm.zip_module(module, agg, m.get_int(S_PATCHLEVEL)))
|
||||||
{
|
{
|
||||||
|
#ifdef __FCONV__
|
||||||
// creazione XXfconv.ini (esporta le info di conversione )
|
// creazione XXfconv.ini (esporta le info di conversione )
|
||||||
TFilename fconv_path;
|
TFilename fconv_path;
|
||||||
fconv_path = fm.get(F_DISKPATH);
|
fconv_path = fm.get(F_DISKPATH);
|
||||||
@ -1458,6 +1466,7 @@ bool TCreadischi_mask::creazip_handler(TMask_field& f, KEY k)
|
|||||||
|
|
||||||
TFconv_ini fconv;
|
TFconv_ini fconv;
|
||||||
fconv.export_module(module, fconv_path);
|
fconv.export_module(module, fconv_path);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user