Results 1 to 9 of 9
  1. #1

    Default Making Installer with DB included


    mgo bro, ask lng ko sa inyo help katong naka.experience ug himo package/ installer using visual studio 2010 or other version (i think same ra ang pghimo ani).. unsaon ang pghimo ug installer nga include btaw ang database?? kay naa koy gihimo nga project nga windows application then using DB sa MSSQL server 2005.. ako unta na ideploy sa ako hataganan nga skol kaso lng kay dili ko kabalo unsaon pginclude sa DB and then configure na lng unta after installation sa connectionstring and the destination.. pwd ba kaha ni?? share b sa steps kng unsaon.. salamat.. i've been looking sa internet pro wa koy makit.an nga solution..

  2. #2
    aw ako ipasabot kay DB file (e.g. .mdb extension, etc.) mga bro hap basin naa nya maconfuse.. hehehe

  3. #3
    Fine reference for installer projects in Visual Studio - Visual Studio Installer Deployment

  4. #4
    mingaw nako aning ako thread da.. kinsay naay idea kay pls. nya ko post mga bro.. wa pa jud tawn nako nahatag kay nabusy ko..

  5. #5
    need help!!!

  6. #6
    Unsa imong database? Ms access?
    ma bundle ra na nimo pero.. imong e make sure daan imong connection string
    like if mag create naka og installer.. dapat naa ra sa usa folder imong .exe + .dbm

    sa imong connection string. should be like this.
    MyDatabase = CurrentProject.Location & "/myDatabase.dbm"

    Pero mag MS Sql siguro ka. d pa ko sure ana unsaon na. pero mo gamit ka og File DSN.

    Google lang part. naa ra na siya.

  7. #7
    oo SQL ko boss.. hehehe.. mostly nakit.an nako sa net kay script nga mucreate DB and mga tables mura xa stored procedure.. hehehe..

  8. #8
    ask diay ko.. since nag sql ka.. naa kay server ani which is network type imong database
    or standalone imong database?


    Kay sa experience nako with C# / Visual Basic na standalone. akong gamit gyud na db ani niya is MsAccess or SQLLite. which is pwede ra ka dili maginstall og SQL Server instances.

    kay with MSSql Server mag need man gud ka og SQL Server drivers to connect with your database. lisod siya imong installers naa pa kay mga e additional dll's e attach which is wala ko kahibaw unsaon.

    - - - Updated - - -

    Network type database as experience nako.. manually installed gyud ni siya.
    dili dapat e automatic. since naa pa kay e configure with your security settings and also the IP Address etc..

    Please see reference:
    c# - Connecting to sql server database mdf file without installing sql server on client machine? - Stack Overflow

    Which is no need na e apil nimo ang Database file didto sa installer.. imo nalang usbon nimo ang connection
    string sa imong database. before nimo creatan og installer

    Sample:

    From:
    Host: Localhost
    Username: Admin
    Password: *******
    Database: SalesInventory

    To:
    Host: 192.168.1.101
    Username: LiveAdmin
    Password: *******
    Database: SalesInventory

  9. #9
    Depende na unsa nga database imo gamit, mao na akoa ma suggest:

    1) Standalone Database (SQL Server Compact, SQLite, MS Access etc), pwede ra nimo i-copy apil sa imo project files. Or pwede pud nimo i-generate at runtime ug database file.

    2) Server Database (SQL Server, MySQL etc)
    - Kung VS Installer Packager imo gamit, pwede nimo i.apil server installer sa prerequisite. Ang installer na mismo mu download online sa prerequisite or pwede pud local copy sa server installer ang iya i-launch. database - Install SQL Server Express with C# application - Stack Overflow

    - Pero mas maau gihapon kung i.manual install ang server.
    1) Una, dako2x ang file size anang server. 400MB+ server installer unya ang imo application installer size kay naa ra sa mga 10M- installer. Laina gud.
    2) Ug ika duha usually need nimo pa i-configure ang server.

    Kung gusto jud nimo ug i-isa ang duha, naa mga free ug commercial tools para ana. Naa free pero medyo naa learning curve, InnoSetup. Sa commercial, naay Advanced Installer ug InstallShield.

    Inno Setup For .NET Application - Home

    Update: Tuod basin ganahan pud ka sa ClickOnce Deployment, maka create ka ug custom bootstrapper gamit ana or mga built-in bootstrappers sama sa SQL Server.

  10.    Advertisement

Similar Threads

 
  1. Looking For: male Japanese spitz to make love with my female japanese spitz
    By forsaleonly in forum Pets
    Replies: 33
    Last Post: 08-02-2010, 02:52 PM
  2. How to make carbonara with mushroom and ham?
    By schanqz in forum Food & Dining
    Replies: 2
    Last Post: 09-20-2008, 06:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top