How to create an executable file by including my C# project and database(SQL) in visual studio ?

Hi,
     I had developed a project in visual studio c# and my database in SQL server. How can i create a executable file including both. 
can any one give me a solution for this.
I am trying to make executable in installshield.
Thank you

Hi,
Try to use custom actions to call some managed method, execute the SQL script to create and initialize the database in the method.
Check this article, it should be helpful for you to create the script and installation:
https://msdn.microsoft.com/en-us/magazine/cc163919.aspx#S2
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to create an executable file

    hello,
    i don't know if its the right forum but i hope you will be able to help me.
    i have written a java program using NetBeans 4.1. and i want to create an executable file so that i coulfd copy it to other computers and run it from there.
    when i try to simply run Java i get a lot of errors because it cant find NetBeans specific packages, what can i do?
    a huge thanks to anyone who would help.

    i have written a java program using NetBeans 4.1. and
    i want to create an executable file so that i coulfd
    copy it to other computers and run it from there.How about an executable JAR instead?
    http://onesearch.sun.com/search/onesearch/index.jsp?qt=create+executable+jar&qp_name=null&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums
    http://onesearch.sun.com/search/onesearch/index.jsp?qt=create+exe&col=developer-forums&subCat=siteforumid%3Ajava31&cs=false&chooseCat=javaall&qp_name=null&rt=true&site=dev&dftab=siteforumid%3Ajava31
    when i try to simply run Java i get a lot of errors
    because it cant find NetBeans specific packages, what
    can i do?You'll have to distribute them as well (as long as the license agreement allows you) and have to include them in the user's classpath.

  • How to create windows executable file from a java file. Please help.

    Hi,
    For my project I developed the codes in Java. It is working well with java run time environment. But without that I can not run it. I need to create a exe file (windows executable file) from the java source code. If you have any idea please share it with me.
    Even if you know it very lightly, please help with what you know. That would be a big help for me.
    Thank you very much.

    Does anybody know how to read a manual?
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC

  • How to create an executable File (Linux-Script) in Java

    Hello,
    I'm creating a script file in my Java Application.
    This script should be executed by hand on my linux system. Therefor the execute flag must be set. But how can I set this flag without executing the "chmod"-command?
    Is there any possiblility to do this?
    Thanks,
    Armin

    I don't think there is. But you can use Runtime.exec() to execute a chmod command.

  • How to create a executable file from .java file?

    Well usually we would compile and run our program using jdk1.x. Can we create a .exe file so that it will run everytime I open it without compile and run it?
    Regards,
    Ng

    hai,
    you can create a batch file,in it define the commands javac and java.so that whenever u are running the batchfile it is compiled and the program is executed..
    it will work..
    bye,
    j.mouli

  • How to create a par file that includes an image and a .swf file

    Hi everyone,
    I have a requirement to create a <b>.par file which will contain a .swf file and a .gif file</b>.
    Can anyone please tell me the steps to do so.
    Thanks in advance

    Thanks Ranjeet for the quick reply.
    I have created a portal project and placed the .swf file and the .gif file in the images folder and deployed it to the server. I downloaded the .par file and chked that it contained the .swf and .gif files. But when i run the application it <b>does not show me the .swf file</b> . An icon with a cross mark appears instead. I have flash player installed on my PC .The .gif file when run works fine but not the .swf file.
    Can anyone tell me a workaround for this ?

  • I created a master file of one of my projects and re= imported it as a test, can i break down the project again as individual clips and change it around.

    I want to bring back a project that is in my documents saved as a masterfile. I put it there to save space. I just wrked out that files I have imported into events grow massivly so unless i really need them i will keep them outside of fcpx.
    storage and management of media has become an issue and 1tb seems not so massive now.
    if i can bring files and projects in and out of fcp then this will save slace as a short project and event can easilt exceed 100GB
    It seems time consuming to bring back projects into the event browser, is there a more efficient way.
    Where should I be keeping my footage as soon as I bring it out of my video camera, in iphoto?
    Many Thanks,
    Dave Thorne

    Dave,
    Importing files that are already on your computer into FCP does not add very much to file size unless the media are copied to the event – or optimized. Otherwise,  FCP just points to the media in the referenced event – wherever it's located on your system.
    So if you create a new event to revisit the project, you can keep the file size down by choices you make in the import dialogue box Or…just use the original event.
    But you need to have at least one event in your Event Library that FCP is referencing for your new project.
    Don't keep you media in iPhoto. Ideally, it would be kept on a separate media drive in a folder, named according to whatever convention works best for you.
    Russ

  • How to create a simple File structure for a large project?

    Hi to all,
    I've own and operated my own website design/development (a 1 woman office, plus many sub-contractors) over the period of 8 years. I started hand-coding HTML sites in 1997, before the creation DW (though I think the first ver was for Mac in '97). Over the recent years I've udated my skills to include CSS and enough Java/PHP to customize and/or troubleshoot current projects (learn as I go).
    The majority of my clients have been other 1-10 person entrepreneur companies. I've recently won a bid to redesign a government site which consist of 30 departments, including their main site.
    The purpose of this thread is to get some ideas on creating a file management/structure. Creating file management setup for smaller companies was a piece of cake, using a simple file mgmt structure within DW. Their current file structure is all over the place. I've read about a very good, simple file struture in a DW CS4 manual and wanted to get feedback on different methods that have worked, and have not worked, or your client:
    Here's my thinking:
    1. within the root dir place home.htm and perhaps a few .htm related only to home
        2. create the following folders off the root, "docs, imgs/global, CSS, FLA, Departments"
                - sub folders within docs for each dept
                - site wide css's placed into CSS
                - site wide FLAs into the FLA
                - sub-folders created within 'imgs' for each dept, including a 'global folder' for sitewide images and menu imgs (if needed)
    - OR -
    1. create same file structure for each dept folder, such as 'imgs/CSS/FLA/Docs'
    Open for suggestions....
    Ciao

    It is a problem I have thought over at length and still feel what I use could be better. You are doing it the right way around researching before you start, as moving files once things are underway can course real problems. One issue is the use of similar assets across site(s), and version control if you have multiple versions of the same asset.
    Can not say I have built a site(s) of that size but would recommend putting together a flow chart to help visualise the structure and find out better ways organising (works for me). Good luck, post back with your solution.

  • How to create a war file of web application

    Hi Techies
    How to create a war file of the web application?
    And plz tell me the utilities used for it.

    hi,
    To compress a 'abc' web application into a "Web Archive" file named abc.war, follow the steps below:
    1> Open a command prompt and cd to the application's dir:
    <TOMCAT_HOME>\webapps\abc
    2> Use the java archive command 'jar' to bundle up your application:
    jar -cvf abc.war *
    3> Move this to any other server and work with it!! :)
    -- Abdel Raoof Olakara
    http://olakara.googlepages.com

  • How do I include all the necessary files required for the DAQ Assistant to create an executable file?

    I am creating an executable file to run on a computer that does not have LabVIEW installed.  The problem is that I am using the DAQ Assistant.  The VI Hierarchy is rather large, and I am not sure how to include all of the required files to eliminate the error "The full development version of LabVIEw is required to fix the errors."  Attached is an image of the VI Hierarchy.
    Solved!
    Go to Solution.
    Attachments:
    hierarchy.jpg ‏419 KB

    Yes I did create an installer.  See image installernoDAQmx.jpg  
    When this is all I do I get an error that subvi is not included, a list of about 6 subvi's.  To eliminate this error I manually add the subvi from the dependencies list to the my computer list. This allows me to add them as support files.  This eliminates the error about subvi not included, but then I get the error I spoke of earlier.
    If I include the DAQmx I get an error.  See image installererror.jpg
    Not sure what MAX refers to?
    Attachments:
    installernoDAQmx.jpg ‏259 KB
    installererror.jpg ‏103 KB
    dependencies.jpg ‏344 KB

  • How to create the SWF file which was included surrogate pairs.

    I would like to make sure how to create the SWF file which are included surrogate pairs.
    The error of outside the scope of unicode occurred when I compiled(mxmlc) the as file which was set surrogate pairs to 'Unicoderange'.
    Ex, I set the '  '(UTF-16 is '20B9F') to 'Unicoderange'.
    However, I cannot add the surrogate pairs.
    The error of outside the scope of Unicode occurred when I compiled the AS file.
    The reason of error was that the Unicode(UTF-16) of surrogate pairs is invalid.
    Then, I read the following pages.
    These pages are written that unicode-range supported surrogate pairs.
    http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_07.html
    http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#descdef-unicode -range
    So please let me know how to create the SWF file which are included surrogate pairs.
    Environment
    - Flex3.5a
    - TTC: meiryo(ver6.02), msgothic(ver2.50), mspgothic(ver2.50)
    Thanks,
    Takeshi Ishihara.

    I've been able to create project jar files in Eclipse by selecting Export from the File menu, then choose Java - Jar file - and provide the required information, name, destination folder etc. But when I do this, I do not export other jars on the build path this way nor do I expect to do this. I am only concerned with creating a jar file of my own work. A jar file does not "contain" other jar files. If the jar file contains the main method, and requires other jars for it's execution, then you may wish to include a reference to required jars on the class path entry of the Manifest file of the jar file you create. I'm not sure how to create a Manifest file in eclipse though..

  • How to create a password file for executing psadmin command to deploy portl

    how to create a password file for executing psadmin command to deploy portlet

    What you have done is perfectly right. The password file doesn't have anything else apart from the password
    for example in your case
    $echo password > /tmp/password.txt
    However I remember that in windows install, the Application server used to wait for a user's input when a deploy was to be done for the first time. So Can you read the Release notes or the Readme file which has come with windows.
    The solution was,
    manually use asadmin command of application server to deploy some war (any webapp will do), at this time, a question will be prompted to accept a certificate. once this is done, deploy portlet should work fine!!!
    HTH

  • How do I create an executable file?

    How exactly do I create an executable file from my .java file?

    I've tried to run it from the DOS prompt two ways.
    If I type "java -jar Plist" (Plist is the .jar file
    name, the .java file name, and the class name), It
    says...
    Exception in thread "main" java.util.zip.ZipException:
    The system cannot find the file specifiedThat seems pretty clear - there is no file called "Plist" and that's it. "The system cannot find the file specified."
    If I type "java -jar Plist.jar", It says...
    Exception in thread "main"
    java.lang.NoClassDefFoundError: Plist
    Two questions...
    1. What am I doing wrong??Two possibilities, I'd put my money on the first one:
    1. That jar file of yours really doesn't contain a class called Plist. Check the contents with "jar -tf Plist.jar". The file Plist.class (along with other stuff you put in the jar) should be listed.
    2. If it is listed, your classpath may be set wrong - can you run the app with "java -classpath Plist.jar Plist"?
    2. Once I get this .jar deal to work, will I be able
    to run it on other computers? It seems to be tied in
    with some of the Java utilities and files on my
    computer. Is it independent like a .exe file or not?No, it's not independent like a .exe file. It's a lot more independent than any .exe file. Ever tried running them on a Mac? Linux? Solaris? Anything else than windoze? On a windoze system that's older than recommended, like on win95 instead of 2k?
    The independence of java class files packed in jars is on the level of xml, pdf and postscript files - you can use them everywhere. To be more exact, on every system that has a "viewer" for those files; in java's case the "viewer" is the runtime environment. Once it's installed the files can be run like other programs on the system.

  • How to create smaller .exe file use JBuilder7

    I am currently using JB7(EE), which can create native executable file for me. But I found it so foolish that add so many unneed classes to .exe(As I can use WinRar open it, but cannot change it).
    Does anyone know how to reduce the .exe?
    ps: As I use castor, so I had to include castor class in it, but I really don't want to add all of these to it.

    In the Wizar you employ to make the native executable,
    in the second step the Wizard ask you what to do with
    the libraries you have employed in the proyect,
    include all them include only the classes and
    resources nedded, or not include. This way you'll be
    able to control what is in you .exe file.
    AbrahamYes, I had tried it, and tried every possible combination/permutation of the four choice.
    But still bigger than it can be.
    For example: I used castor.xml library, but JBuilder include all castor include xml parser, html parser, xhtml parser, etc.
    As castor.xml --> castor.xxx(I cannot remember its name) --> castor.html-->...
    So JB7 maybe confused by the complex deps.
    So JB7 include ALL in my exe fiel.
    It may be impossible to create smaller .exe file with normal way.
    So anyone know any other way to create .exe file with the .jar file?
    As I can change the content of .jar, but cannot to .exe.
    thx for continous reply

  • HOw to create a Batch file for java application and whats the use of this ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    First of all, you're OT.
    Second, you can find this everywhere in the net.
    If you got a manifest declaring main class (an classpath if needed), just create a file named whatever.bat, within same directory of jar file, containing:
    javaw -jar ./WhateverTheNameOfYourJarIs.jar %*By the way, assuming a Windows OS, you can just double click the jar file (no batch is needed).
    Otherwise use:
    javaw -cp listOfJarsAndDirectoriesSeparedBySemiColon country/company/application/package/className %*Where 'country/company/application/package/' just stands for a package path using '/' as separator instead of '.'
    Don't specify the .class extension.
    Javaw only works on Windows (you asked for batch, I assumed .BAT, no .sh), in Linux please use java.exe (path may be needed, Windows doesn't need it 'cause java's executables are copied to system32 folder in order to be always available, see PATH environment variable if you don't know what I'm talking about) and use ':' as classpath (cp) separator.
    The '%***' tail is there in order to pass all parameters, it only works on Windows, refer to your shell docs for other OSs (something like $* may work).
    This way you have a command you can call to launch your code (instead of opening NetBeans just to see your app working). You could schedule tasks on it or just call it in any command prompt (hope you know what it is 'cause there have been people in this very same forum with no clue about it, if not just hold the 'Windows button' and press 'R', then type 'cmd' and run it).
    Finally add dukes and give 'hem away.
    Bye.

Maybe you are looking for

  • How to Use a Picklist with a HTML form

    I use the HTMl Web Bean Edit Form. I want to add a text box in the second cell of the table instead of creating a new row. Furhter How can I specify a Picklist which fetches data from a view object on the same form. null

  • Event name font problem, take 2 (or 3)

    in all of Apple's marketing materials, the font of the display name of each event is a lovely bright bold white, and it's centered under each event. in many people's versions of iphoto 08 (mine included), it's an ugly drab, left-justified and tucked

  • Authschemes and log in page

    Dear All, i have a problem with authschemes, that should be used for kerberos- and basic-authentication. As Kerberos works fine, basic authentication do not forward the log in page to the portal content ( basic auth is called by the url: https://<por

  • BMPC4k DNG's do not import on Premiere CC 2014.0

    BMPC4k DNG's (New Firmware BM4k 1.8) do not import. Error displayed is "Unsupported format or Damaged file" - The BMPCC imports fine with DNG's. Hope this will be updated as BM4K RAW update will be launched any day.

  • Is Thunderbird incompatible with Office 365?

    Our University recently migrated to Office365. According to our IT help desk Office365 doesn't "talk" with Thunderbird. All installation has been performed, but I get this "Login to server imap-mail.outlook.com failed" when I try to log in. Incoming