Inno installer Runtime and Shortcut (1 Viewer)

JohnPapa

Registered User.
Local time
Today, 18:13
Joined
Aug 15, 2010
Messages
620
I have been trying to use Inno to create an installation package and I am stuck at
1) Installing the Access 2013 Runtime
2) Creating a desktop shortcut which will run the Runtime and the .accde (which points to the .accdb)

So far I have the following and any hints would be appreciated. BTW, I have checked every installer under the sun...

Code:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Visual Dentist"
#define MyAppVersion "15.0"
#define MyAppPublisher "Kosmos Business Systems Ltd"
#define MyAppURL "https://www.VisualDentist.com"

#define MyAppExeName "vd5.accde"


[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{A2E41031-5E7B-4069-833F-581EED5AD9CD}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={userdocs}\{#MyAppName}{#MyAppVersion}
UsePreviousAppDir=yes
DisableDirPage=no
DefaultGroupName=VisualDentist {#MyAppVersion}
DisableProgramGroupPage=yes
OutputBaseFilename=VD-Setup
SetupIconFile=C:\Inno\logo.ico
Compression=lzma
SolidCompression=yes
PrivilegesRequired=lowest
LicenseFile=C:\Inno\License.txt

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked


[Files]
Source: "C:\Inno\vd5.accde"; DestDir: "{app}"; Flags: ignoreversion replacesameversion
Source: "C:\Inno\vd5_be.accdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Inno\logo.ico"; DestDir: "{app}"; Flags: ignoreversion


[Run]
Filename: "{app}\vd5.accde"; Description: "Open Visual Dentist"; Flags: postinstall shellexec skipifsilent
 

JohnPapa

Registered User.
Local time
Today, 18:13
Joined
Aug 15, 2010
Messages
620
Was able to insert a desktop shortcut (not with the correct icon) using the following:


Code:
[Icons]
Name: "{autodesktop}\VisualDentist"; Filename: "{app}\vd5.accde"
 

Users who are viewing this thread

Top Bottom