[Setup]
AppName=NomAppli
AppVersion=7.00.1
DefaultDirName={pf}\NomAppli
DefaultGroupName=NomAppli
OutputBaseFilename=NomAppli_Setup
[Files]
Source: "C:\Users\PC\Desktop\Nom\bin\Release\NomAppli.exe"; DestDir: "{app}"; Languages: French
Source: "C:\Users\PC\Desktop\Nom\bin\Release\NomAppli.exe.config"; DestDir: "{app}"
Source: "C:\Users\PC\Desktop\Nom\bin\Release\dotNetFx40_Full_setup.exe"; DestDir: "{tmp}"; Flags: deleteafterinstall
[Icons]
Name: "{userdesktop}\NomAppli"; Filename: "{app}\NomAppli.exe"; WorkingDir: "{app}"
Name: "{group}\NomAppli"; Filename: "{app}\NomAppli.exe"; WorkingDir: "{app}"
Name: "{group}\Désintaller NomAppli"; Filename: "{uninstallexe}"; WorkingDir: "{app}"
[Run]
Filename: "{tmp}\dotNetFx40_Full_setup.exe"; WorkingDir: "{tmp}"; Flags: waituntilterminated
[Languages]
Name: "French"; MessagesFile: "compiler:Languages\French.isl"
Si c'était un problème de Framework, l'application poserait également problème au lancement dans VB non ?
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionImports System.IO Module Program Sub Main() ' hook on error before app really starts AddHandler AppDomain.CurrentDomain.UnhandledException, AddressOf CurrentDomain_UnhandledException Application.EnableVisualStyles() Application.SetCompatibleTextRenderingDefault(False) Application.Run(New Form1()) End Sub Sub CurrentDomain_UnhandledException(ByVal sender As Object, ByVal e As UnhandledExceptionEventArgs) ' put your tracing or logging code here (I put a message box as an example) Dim filename As String = Application.StartupPath & "\log.txt" File.WriteAllText(filename, e.ExceptionObject.ToString()) Process.Start(filename) End Sub End Module
Tu testes l'installation sur le PC où tu codes?
Si oui, ce n'est forcément pas un problème de framework, par contre tu pourrais passer à coté de pleins d'autres problèmes.....
C:\Users\PC\Desktop\Logiciel Dev\Analysis\Analysis\Program.vb
C:\Users\PC\Desktop\Logiciel Dev\Analysis\Analysis\My Project\Program.vb
Public Sub New() ' Cet appel est requis par le concepteur. InitializeComponent() Dim zero As Integer = 0 Dim un As Integer = 1 Dim erreur As Integer = un \ zero
System.DivideByZeroException: Tentative de division par zéro. à Test_VB.Net_winform.Form1..ctor() dans Y:\Visual Studio 2013\Projects\Test VB.Net winform\Test VB.Net winform\Form1.vb:ligne 93 à Test_VB.Net_winform.Program.Main() dans Y:\Visual Studio 2013\Projects\Test VB.Net winform\Test VB.Net winform\Program.vb:ligne 10