Results 1 to 10 of 10

Thread: Deploying a VbE 2008 application.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    81

    Deploying a VbE 2008 application.

    I am trying to create a setup file for my VBE 2008 application. Because I am using MSChart controls in my application MSChart.exe needs to be installed before the application will run. In the publishing options for VBE 2008 you can select prerequisite installs .NET 3.5 for example. How can I add MSChart.exe to this prerequisite list or get MSChart.exe installed before the setup installs my application? Thanks.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Deploying a VbE 2008 application.

    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    81

    Re: Deploying a VbE 2008 application.

    Thanks I now can get the VBE clickonce installer to install MSChart.exe first but noe it is installing my app in this directory:

    C:\Documents and Settings\user\Local Settings\Apps\2.0\16DV2DH6.KVM\2855EMRQ.DJ9\life..tion_da0f4ad6ce461493_0001.0000_0537c15313f81364

    It does not ask the user where the app should be installed to and installs the app into this weird location, any ideas?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Deploying a VbE 2008 application.

    ClickOnce installs apps to the ClickOnce cache. To be able to manage them it needs to have a certain amount of control over them. That's the way it is. If you don't like the rules of ClickOnce then you can't use ClickOnce, but you lose the benefits too. The primary benefit is automatic updates, but the inbuilt security is a particular benefit for corporate environments too.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    81

    Re: Deploying a VbE 2008 application.

    Thanks, would you happen to know of a free and easy to use installer.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Deploying a VbE 2008 application.

    Inno is free and powerful but I'm not sure it necessarily qualifies as easy to use. I haven't used it myself though. There are others around too but I can't point you to any specifically.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7
    Fanatic Member
    Join Date
    Dec 2009
    Posts
    904

    Re: Deploying a VbE 2008 application.

    you may use the inno........just put the prerequisite .exe name in the [run] section of inno;on compiling the inno the output will be a single setup installer.

    1 more thing:you dont need to learn the inno scripting language also.......there is a inno GUI avilable where you can do all according to your need in the GUI and its really very very easy to use

    if you need help then i can also start you off

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    81

    Re: Deploying a VbE 2008 application.

    Quote Originally Posted by HowTo View Post
    you may use the inno........just put the prerequisite .exe name in the [run] section of inno;on compiling the inno the output will be a single setup installer.

    1 more thing:you dont need to learn the inno scripting language also.......there is a inno GUI avilable where you can do all according to your need in the GUI and its really very very easy to use

    if you need help then i can also start you off
    I have installed inno and the istool(GUI) and run the wizard. This has created my first script. What do I do now? When I click the run setup button I get an error message saying setup.exe does not exist so I assume I have to build the script into a setup file first. When I run the compiler I get an error message saying operator not applicable to this operand type line 97. This line was added by the wizard and I have no idea what it means.

    Filename: {app}\{#MyAppExeName}; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, ""&"", ""&&"")}}"; Flags: nowait postinstall skipifsilent

  9. #9
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Deploying a VbE 2008 application.

    This is a VB.NET forum and how to use Inno is beyond the scope of this forum. This site has a dedicated forum for deployment questions so you should ask about Inno there. Quite possibly your question has already been answered. I've asked the mods to move this thread.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  10. #10
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Deploying a VbE 2008 application.

    Thread moved to the 'Application Deployment' forum, which is where questions about installing/distributing your software belong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width