Hello,
I have just finished my migration from WEBBROWSER to WEBVIEW2 but I encounter a problem when creating my installer with INNOSETUP.
Indeed, the file that I have been using for several years no longer seems to do the job. The exe is created well and the installation is done well but when I try to open my software, it appears well in the processes but it does not appear.
Here is my code:
I think I am missing a file. I then compared the BIN/RELEASE folders of my application before and after switching to WEBVIEW2 and I note the presence of 6 files and 2 more folders.
FILES: 3.dll and 3.xml of type 'webview2'
FOLDERS: NomAppli.exe.webview2 and runtimes
Having no idea what to do so I turn to the connoisseurs that you are to get me out of it !
Thank you !
I have just finished my migration from WEBBROWSER to WEBVIEW2 but I encounter a problem when creating my installer with INNOSETUP.
Indeed, the file that I have been using for several years no longer seems to do the job. The exe is created well and the installation is done well but when I try to open my software, it appears well in the processes but it does not appear.
Here is my code:
Code:
[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"
FILES: 3.dll and 3.xml of type 'webview2'
FOLDERS: NomAppli.exe.webview2 and runtimes
Having no idea what to do so I turn to the connoisseurs that you are to get me out of it !
Thank you !