Click to See Complete Forum and Search --> : Deploying a VbE 2008 application.
DC123
Jul 9th, 2010, 03:27 AM
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.
jmcilhinney
Jul 9th, 2010, 03:33 AM
http://msdn.microsoft.com/en-us/library/ms165429%28VS.80%29.aspx
DC123
Jul 9th, 2010, 09:05 AM
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?
jmcilhinney
Jul 9th, 2010, 09:14 AM
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.
DC123
Jul 9th, 2010, 10:09 AM
Thanks, would you happen to know of a free and easy to use installer.
jmcilhinney
Jul 9th, 2010, 10:11 AM
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.
HowTo
Jul 9th, 2010, 10:22 AM
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 :)
DC123
Jul 9th, 2010, 11:44 PM
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
jmcilhinney
Jul 10th, 2010, 01:01 AM
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.
si_the_geek
Jul 10th, 2010, 04:00 AM
Thread moved to the 'Application Deployment' forum, which is where questions about installing/distributing your software belong
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.