Javo Posted October 25, 2013 Share Posted October 25, 2013 rick tengo una duda con el inno setup, te cuento lo que quiero hacer: despues que se instale la aplicacion, quiero que en temporal corra el instalador del VC++2010 pero me genera error mira lo tengo asi:[Files]Source: "D:\DESCARGAS\vcredist_x86\*"; DestDir: "{tmp}"; Flags: ignoreversion recursesubdirs createallsubdirs[Run]Filename: "{tmp}\vc_red.msi"; Parameters: "/qn"; Flags: postinstall skipifsilent uncheckedes correcto o esta mal? y el error que me tira es este: slds!!!! Quote Link to comment Share on other sites More sharing options...
ricktendo Posted October 25, 2013 Share Posted October 25, 2013 No creo que pueda manejar a MSI, pruebe dejandolo en forma EXE sin extraer Quote Link to comment Share on other sites More sharing options...
Javo Posted October 25, 2013 Author Share Posted October 25, 2013 gracias rick, ya voy a probar Quote Link to comment Share on other sites More sharing options...
Javo Posted October 26, 2013 Author Share Posted October 26, 2013 (edited) rick sabes que encontre unos scripts en una carpeta redist, ahora como los tendria que poner en el iss? te doy un ejemplo Net4:"installscript"{ "Run Process" { "4.0 Client Profile" { "hasrunkey" "HKEY_LOCAL_MACHINE\\Software\\Valve\\Steam\\Apps\\CommonRedist\\.NET\\4.0 Client Profile" "process 1" "%INSTALLDIR%\\_CommonRedist\\DotNet\\4.0 Client Profile\\Microsoft .NET Framework 4.0 Client Profile.cmd" "nocleanup" "1" } }}"kvsignatures"{ "installscript" "21f349f31bf6d900d08d0a31edc8b214e77f730927d953011471f7e53b8eff1c1f35c3e66326507730cce62a1f94af4e5a8e49a31a4b515af20781735cb7d3b86a5a11a711d4c8a303f76ea3b831e4c5f285e5394b2e6c706f79727c2bc36e631603d3e6d8e902af79f303603ab33241aa10c69f9a7322c3971b3ecc4dbb983b"}por lo que entiendo tengo que copiar eso y pegarlo en la seccion {code} del iss? es decir aqui:[Code]procedure MyBeforeInstall();begin MsgBox('About to install MyProg.exe as ' + CurrentFileName + '.', mbInformation, MB_OK);end;procedure MyBeforeInstall2(FileName: String);begin MsgBox('About to install ' + FileName + ' as ' + CurrentFileName + '.', mbInformation, MB_OK);end;procedure MyAfterInstall();begin MsgBox('Just installed MyProg.exe as ' + CurrentFileName + '.', mbInformation, MB_OK);end;procedure MyAfterInstall2(FileName: String);begin MsgBox('Just installed ' + FileName + ' as ' + CurrentFileName + '.', mbInformation, MB_OK);end;en el caso que quira poner los visualC++ lo hago a continuacion del net?los scripts tienen extencion .vdfslds!!!! Edited October 26, 2013 by Javo Quote Link to comment Share on other sites More sharing options...
ricktendo Posted October 26, 2013 Share Posted October 26, 2013 La verdad Javo, la sección de code no es mi especialidad. Solo se modificar el code de otros para funcionar para lo que yo necesite Quote Link to comment Share on other sites More sharing options...
Javo Posted October 26, 2013 Author Share Posted October 26, 2013 La verdad Javo, la sección de code no es mi especialidad. Solo se modificar el code de otros para funcionar para lo que yo necesite gracias igual por contestar rick. Quote Link to comment Share on other sites More sharing options...
ricktendo Posted October 27, 2013 Share Posted October 27, 2013 Suerte Quote Link to comment Share on other sites More sharing options...
alfreire Posted January 16, 2014 Share Posted January 16, 2014 (edited) Ya sé que llego tarde, pero yo lo he solucionado así con Nod32: (lo he encontrado en la red)[Files]Source: "{tmp}\eav_nt32_esn.msi"; DestDir: "{tmp}"; Check: Not IsWin64Source: "{tmp}\eav_nt64_esn.msi"; DestDir: "{tmp}"; Check: IsWin64[Run]Filename: "msiexec.exe"; Parameters: "/i""{tmp}\eav_nt32_esn.msi""/qr /norestart"; Check: Not IsWin64 Filename: "msiexec.exe"; Parameters: "/i""{tmp}\eav_nt64_esn.msi""/qr /norestart"; Check: IsWin64 SaluII... ;-) Edited January 16, 2014 by alfreire Quote Link to comment Share on other sites More sharing options...
ricktendo Posted January 16, 2014 Share Posted January 16, 2014 Gracias alfreire 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.