Delphi Indonesia - Mobile Edition

nama: pass:

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
don2103Offline
Location:
Post subject: Installer inno setup dengan access sebagai databaenya.  PostPosted: 03/Sep/2010 08:43
onIntermediate


Joined: 24-Aug-2010
Posts: 49

Status: Offline
Pagi para suhu - suhu / master - master sekalian, mau tanya nih, saya kesulitan nih untuk membuat installer menggunkan inno setup dengan access sebagai databasenya, saya cari di search engine tidak ada yang membahasnya.

Mohon pencerahaanya dari para suhu - suhu / master - master sekalian, hatur nuhun...
 
 View user's profile Send private message  
Reply with quote Back to top
haidarfazOffline
Location:
Post subject:   PostPosted: 03/Sep/2010 22:56
onConfident


Joined: 11-Jun-2009
Posts: 31

Status: Offline
Masalahnya bukan pada database-nya, tetapi jenis dan cara koneksi yang digunakan ... misal pake firebird, solusinya akan berbeda jika database kita perlakukan sebagai embedded dan bukan ...
 
 View user's profile Send private message  
Reply with quote Back to top
mambamaestroOffline
Location:
Post subject: Re: Installer inno setup dengan access sebagai databaenya.  PostPosted: 07/Sep/2010 14:03
onKnowledgeable


Joined: 11-Dec-2007
Posts: 197

Status: Offline
      don2103 wrote:
Pagi para suhu - suhu / master - master sekalian, mau tanya nih, saya kesulitan nih untuk membuat installer menggunkan inno setup dengan access sebagai databasenya, saya cari di search engine tidak ada yang membahasnya.


ah gampang kok. cara yang tergampang, bikin supaya file .exe application dan .mdb ada dalam satu folder. Nah aplikasi mengakses databasenya relatif terhadap lokasi .exe nya, gunakan function ExtractFilePath(Application.ExeName) + 'blablabla.mdb' (blablabla <-- nama file mdb Anda)

kemudian penyertaan .mdb pada inno setup, sama dengan .exe aplikasinya. contohnya ini nih , potongan file .iss nya:

      Code:

[Files]
Source: "D:\d axioo\Data Ali\Projects\DoctorAssistant\DoctorAssistant.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\d axioo\Data Ali\Projects\DoctorAssistant\Report\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "D:\d axioo\Data Ali\Projects\DoctorAssistant\docass.mdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\d axioo\Data Ali\Projects\DoctorAssistant\HelpDocAssist.chm"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\d axioo\Data Ali\Projects\DoctorAssistant\midas.dll"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\Doctor Assistant 1.1"; Filename: "{app}\DoctorAssistant.exe"
Name: "{group}\Help and Tutorial"; Filename: "{app}\HelpDocAssist.chm"
Name: "{group}\{cm:UninstallProgram,Doctor Assistant Setup}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\Doctor Assistant Setup"; Filename: "{app}\DoctorAssistant.exe"; Tasks: desktopicon

_________________
Abdellah Al - Majburi
http://altaifa-dev.co.cc

http://altaifa.wordpress.com/
http://altaifadownload.blogspot.com/
 
 View user's profile Send private message Visit poster's website Yahoo Messenger  
Reply with quote Back to top
ramundroOffline
Location:
Post subject:   PostPosted: 23/Sep/2010 14:18



Joined: 11-Oct-2009
Posts: 1

Status: Offline
bener tu mambamaestro. aku dah beberapa kali pake inno dengan database access. fine2 aja,
 
 View user's profile Send private message Visit poster's website Yahoo Messenger  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic





Powered by PNphpBB2 © 2003-2009 The Zafenio Team
Credits
RSS