[Wapt] Oracle enjoy

Didier Paulin didier.paulin at lepuyenvelay.fr
Fri Sep 4 13:11:34 CEST 2015


Bonjour, nouveau défis : Packager une application métier nécessitant oracle 10g. 

J'ai réussi avec des .bat à exécuter en silencieux l'install de oracle et des patch. Pour rendre plus propre mon paquet (qui exécute le bat dans la version actuelle) , je voudrai retranscrire ce code en python mais je me heurte au variable.. 

@ECHO OFF 
ECHO Oracle 10g R2 Client.. 
SET OPTIONS= 
SET OPTIONS=ORACLE_HOME=C:\oracle\ora1020 
SET OPTIONS=%OPTIONS% ORACLE_HOME_NAME=ora1020 
SET OPTIONS=%OPTIONS% TOPLEVEL_COMPONENT={"oracle.client","10.2.0.3.0"} 
SET OPTIONS=%OPTIONS% SHOW_SPLASH_SCREEN=false 
SET OPTIONS=%OPTIONS% SHOW_WELCOME_PAGE=false 
SET OPTIONS=%OPTIONS% SHOW_CUSTOM_TREE_PAGE=false 
SET OPTIONS=%OPTIONS% SHOW_SUMMARY_PAGE=false 
SET OPTIONS=%OPTIONS% SHOW_INSTALL_PROGRESS_PAGE=true 
SET OPTIONS=%OPTIONS% SHOW_CONFIG_TOOL_PAGE=false 
SET OPTIONS=%OPTIONS% SHOW_XML_PREREQ_PAGE=false 
SET OPTIONS=%OPTIONS% SHOW_ROOTSH_CONFIRMATION=false 
SET OPTIONS=%OPTIONS% SHOW_END_SESSION_PAGE=false 
SET OPTIONS=%OPTIONS% SHOW_EXIT_CONFIRMATION=false 
SET OPTIONS=%OPTIONS% NEXT_SESSION=false 
SET OPTIONS=%OPTIONS% NEXT_SESSION_ON_FAIL=false 
SET OPTIONS=%OPTIONS% COMPONENT_LANGUAGES={"en"} 
SET OPTIONS=%OPTIONS% INSTALL_TYPE="Custom" 
SET OPTIONS=%OPTIONS% oracle.client:DEPENDENCY_LIST={"oracle.winprod:10.2.0.3.0","oracle.sqlplus:10.2.0.3.0","oracle.network.client:10.2.0.3.0"} 
SET OPTIONS=%OPTIONS% oracle.winprod:DEPENDENCY_LIST={"oracle.odbc:10.2.0.3.0","oracle.ntoledb:10.2.0.3.0","oracle.ntoledb.odp_net:10.2.0.3.0"} 
SET OPTIONS=%OPTIONS% oracle.has.common:OPTIONAL_CONFIG_TOOLS="{}" 
SET OPTIONS=%OPTIONS% oracle.network.client:OPTIONAL_CONFIG_TOOLS="{}" 
START /WAIT %client%\install\oui.exe -silent %OPTIONS% -nowelcome -noconfig -waitforcompletion -force -nowait -noconsole 


Les roi du Python, pouvez vous m'expliquer comment en faire un joli bout de code avec les variables. 

Merci d'avance. 







Cordialement. 

-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150904/9a40fd03/attachment-0001.html>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: didier.jpg
Type: image/jpeg
Taille: 73779 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150904/9a40fd03/attachment-0001.jpg>


More information about the WAPT mailing list