Вы находитесь здесь

Форум

SEFIP 8.3 (Final)

Автор Replies
meloves Monday 26 May 2008 at 4:08
melovesAnonymous

Version of wine: 1.0-rc2
Distribution: OpenSuse
Version of the distribution: 10.3 (i386)

Graphics card: The crappiest and cheapest VIA you can find! XD
Drivers of the graphics card: I'll pass!

Comments: Many things work! It still needs some tests, tough! Because it depends on Wine (really? XD).
This is my first script and is finally 100% OK!
This is a Brazilian software and many people don't use Linux because they it won't work on Wine!
This script should be included on WorkOnLinux!!!!! Please, I know you think this is not useful but this is REALLY useful for Brazilian offices. Thank you.

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check

#Introdução
presentation "SEFIP 8.3" "Secretaria da Receita Previdenciária" "http://www.previdenciasocial.gov.br" "Wine-Brazil" "Sefip83" 1 $MAX_STEP

#Criando prefixo do Wine/Creating wineprefix
mkdir -p $HOME/.PlayOnLinux/wineprefix/Sefip83
cd $HOME/.PlayOnLinux/wineprefix/Sefip83
select_prefixe "$HOME/.PlayOnLinux/wineprefix/Sefip83/"
polprefixcreate 2 $MAX_STEP

#Definindo a versão do Wine como Windows XP/Setting Windows XP as default Wine version
Set_OS winxp
fonts_to_prefixe
cd $REPERTOIRE/tmp
message "Este instalador irá fazer o download do SEFIP 8.3.
Informamos que nem a Equipe da PlayOnLinux nem a Caixa Econômica Federal oferecem suporte a este produto quando executado fora do Windows.

Ao prosseguir com o download, você declara que está ciente de que está usando o programa por sua conta e risco." "Instalação do SEFIP 8.3" 3 $MAX_STEP
#Baixando o SEFIP 8.3 completo do site da Previdencia Social/Downloading the full version of SEFIP 8.3 from Previdencia Social's site
telecharger "$LNG_DOWNLOAD_VC" "http://www.previdenciasocial.gov.br/programas/GFIP-SEFIP/SetupSefipV83FULL.exe"
"$LNG_DOWNLOAD" 4 $MAX_STEP
warning "Nesta etapa, você irá fazer o download das bibliotecas necessárias para a execução do SEFIP 8.3. Estas bibliotecas são de propriedade da Microsoft portanto, ao prosseguir, você concorda que possui uma licença original do Windows XP. Deseja prosseguir?" "Instalação de componentes" 5 $MAX_STEP
#TO-DO: Provide extra mirrors for libraries download in case one doesn't work!
telecharger "$LNG_DOWNLOAD_VC" "http://www.bitwiseim.com/download/msvcp60.dll"
"$LNG_DOWNLOAD" 6 $MAX_STEP
cd $HOME/.PlayOnLinux/tmp/
mv msvcp60.dll $HOME/.PlayOnLinux/wineprefix/Sefip83/drive_c/windows/system32
#Executando o instalador/Running the installer
wine SetupSefipV83FULL.exe
#Limpando arquivos temporários da pasta PlayOnLinux/Cleaning PlayOnLinux's temporary folder
rm $HOME/.PlayOnLinux/tmp/ -R
simuler_reboot 7 $MAX_STEP
#Criando lançador na sua área de trabalho e menus/Creating launcher on the desktop and on the menu
creer_lanceur "Sefip83" "Arquivos de programas/CAIXA/SEFIP" "Sefip.exe" "sefip.png" "Sefip"
#Removendo lançador duplicado do SEFIP gerado pelo próprio programa da CEF/Removing dup launcher
rm $HOME/Desktop/SEFIP.desktop
message "Parabéns! O SEFIP 8.3 foi instalado com sucesso! Para utilizá-lo, basta clicar no ícone na área de trabalho!" 8 $MAX_STEP

end_install

exit 0
Вы находитесь здесь: Index > Your creations. > SEFIP 8.3 (Final)

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com