Including Additional Resources In Installer Package?

Nov 2, 2011

I've been switching over to VB.net with visual studio 2010 and there is two big questions that are bothering me When I want to create an installer for my program, how do I do the following?

1. Pick the folder on C:\ drive where I want it installed? (ie c:\program files\myprogram)

2. I have about a dozen access databases and monarch models that I've created to work with my program. How do I include these in the installer?I'm not quite sure if this is a vb.net forum question, so pardon if it isn'i'm just starting here because this is afterall vb.net that i'm writing all of this in.

View 7 Replies


ADVERTISEMENT

Click-once Deployment - Additional Files Required In Package?

Jan 9, 2009

Hi, can anyone help me with a click once deployment query?I have packaged an application, using Click Once - it all works absolutely fine, with the exception of some files I need on the C: drive. For example: My application populates an Excel.xlt template with data, using an export function. The path of the template is c:program filesaem
eport.xlt

If the application is packaged, there is no option that I can see where you can include this template and the path to the file. The only way around it is to manually copy the template (and half a dozen other files in the same folder), after the click-once deployment - but this kind of defeats the object.

View 2 Replies

Package Mdb File In Installer?

May 13, 2009

I have a finished application that is ready to be delivered to my client, I am looking for an efficient way to add my database file (i.e. .mdb file) into the installer package, thats one thing..another thing is that how can I customise the installer package to always put that .mdb in the D: drive during installation..

View 3 Replies

VS 2010 Installer Package?

Dec 22, 2011

I have written a program in vb.net with mysql database.Now, my question is how can I add the mysql installation along with the query to create the database that my program is using? I wanted to include .net framework also in the installation.

View 1 Replies

VS 2008 : Including Sql Data In A Deployment Package?

Dec 16, 2010

I am wanting to include data in my vb2008 deployment package.I have tried many different ways, but with no success.Even with the "click Once" method, also using the setup method.

View 5 Replies

Including Linked DLL In Installer Packages - Visual Studio 2010?

Dec 12, 2010

I've written a program that works perfectly well when installed on my development PC, but when I use the wizard in "Build-> Publish" and install the software on another computer it complains it can't find the DLL that I've linked to.The DLL comes from a programmable board that I'm linking to, so I don't have access to the source code, and I've included it in my project using the following lines:

Declare Function InitMbee Lib "C:UsersMartin & CelinaDesktopVBminimb.dll" () As Boolean
Declare Function SetOutputs Lib "C:UsersMartin & CelinaDesktopVBminimb.dll" (ByVal outputs As Integer) As Boolean

However I've not included the DLL in any other way, so I'm wondering if I have to add it to a list of items that need to be included with the installer, or if I've declared it in such as way that it needs to be in the same place for all installations.

View 1 Replies

Create A Windows Installer Package In Program Using Tools From Microsoft?

Sep 17, 2009

I want to create a windows installer package using visual studio. It is my understanding that there was a simple way to do this in vb6, you could add an installer like you can add a new form.

How can I do this in vb.net? I downloaded and installed the Windows SDK from [url]... because it said somewhere that it could create installer packages and had tools to do so for .net

View 5 Replies

Application And Installer Doesn't Register Component Irrespective Of Any Settings In Install Package

Jul 22, 2009

I am using a 3rd party dll in an application and the installer does not register the component irrespective of any settings in the install package.It will register manually though using regsrv32 after installation.My question is how can I use the System. Diagnostics. Process.Start("cmd.exe")function to call the regsvr32 with the dll name after installation from the install package, also the correct syntax for referencing the installation folser if the user amends it on install so that it doesn't fail on execution because of spaces.Dim stRegPath as String= "regsvr32 & "" & Path.GetDirectoryName (Assembly. GetExecutingAssembly().Location) & "rogue.dll".

View 3 Replies

Publish A Program Including "resources"?

Aug 20, 2011

This sounds pretty stupid, and it's not challenging at all. There is a wave file, which is what I want to publish. Then I can't find it in Solution Explorer. And when I publish it in Clickonce, the wave file is gone, as with the Resource folder. Now I want to make the Pesource folder appear and enbedded in the excute file code, that is, there is also a "Resource" and in which there is the very wave file. This is my code. It means I want to click this button and play a wave in Resource folder.

[Code]...

View 6 Replies

Loading Output From Package Out Of A Local Package Error

Mar 24, 2010

I am trying to run the application created in the example at [URL] The code errors at the line dtsDataReader = dtsCommand.ExecuteReader(CommandBehavior.Default)
the error is A requested parameter does not exist in the package. I have checked everything that i can think of in the package Also when I try to run the package using the dtexecui utility I two errors "Error: SSIS Error Code DTS_E_PRODUCTLEVELTOLOW.

[Code]...

View 1 Replies

VB2010 Use An Application To Package All Files Together Into A Setup Package

Feb 26, 2011

I am wanting to use an application to package all my files together into a setup package. I have tried InstallShield 2011, but when i click on Visual Basic .net wizard, it tells me I do not have Visual Studio.NET installed on my system. I am currently using VB2010 Express How can I fix this... or is there a better application available for packaging?

View 2 Replies

How To Create Initial Installer And Upgrade Installer?

Aug 12, 2011

I'm currently developing an application for a POS Terminal using VB.net. Our project is approaching the last stage of development and I've been tasked to create 2 installers. 1 for Initial Installation, and the other for upgrade installation.

The project is composed of several elements. These are:

1. The application executable

2. Common DLLs that we developed

3. some resources (.resx and XML)

The requirement for the upgrade installer is that only those files with modification should be installed. (i.e. if only the xml or resx files are modified those are the only items that will be reinstalled, since the size of the upgrade installer is a consideration so we cannot reinstall everything).

I'm using Visual Studio 2005 for my deployment project but I'm a bit confused about how to set the properties of each file in such a way that during the upgrade, only the files that were modified would be updated and the rest of the files will not be removed since I'm setting RemovePreviousVersion property to True. I have a hunch that I need to do something with the custom action but I haven't been able to figure it out. The upgrade installer setup is almost the same as the initial installer except that all files are excluded.I tried to acquire a copy of Phil Wilson's book (The definitive guide to Windows Installer) but its not available in our local bookstore and it would take too long to order it.

Basically while tinkering with the settings/properties there are instances where the dll was not updated and there are also times when the application exe was removed.

I already verified that the Product code is the same for both installers and that I'm sure that the version number is being incremented for each upgrade.

If I will be redoing both installers from scratch, how should I go about it?

I'm also confused about the Condition property and the transitive property.

View 6 Replies

VB2010: Visual Studio Installer Add Other Installer?

Jul 19, 2011

Triying to use the built in Visual Studio 2010 to install a couple of files and after that is done to run another installer package (3rd Party Installation Wizard).

View 1 Replies

Run 2008 SSIS Package - Click A Button And Have A SSIS Package Execute?

Apr 14, 2011

I created a simple VB application in Visual Studio 2010.My computer, which I am using to create the program, is Windows 7 Pro, and SQL Server 2008 is running on a Windows Server 2008 Enterprise, which I have full access to.

I want to click a button and have an SSIS package execute.I looked around on the Internet and found examples, but they do not seem to work for me.I try to add a reference, Microsoft.SqlServer.ManagedDTS.dll, as a few sites advise, but it is not listed when I go to PROJECT>ADD REFERENCE.

I also type:

Imports Microsoft.SqlServer.Dts.Runtime but all I get is a squiggly green line, which when hovered over states "Namespace or type specified in the Imports 'Microsoft.SqlServer .Dts.Runtime' doesn't contain any public member or cannot be found." Below is some code I copied from one of the websites and pasted in my button click event (the path is correct), but a get blue squiggly lines under "Package" and "DTSExecResult":

Dim pkgLocation
As String
Dim pkg As
New Package[code]....

What can I do to make the SSIS package run when I click the button on the Windows application a created?

View 8 Replies

Creating A Windows Installer CD - Initiate The Windows Installer And Have Failed?

May 29, 2011

I have written a program in Visual Basic 10 and all is well. I have published it and have been burning the result to a cd and installed it on various computers, however it is the click once app, which has been fine till now. What I need to do now is to have the program install the .exe file and associated files (non click once app) to a specific drive on a computer or network computer. I have searched the net for instructions on how to initiate the windows installer and have failed. is there a program that you can select the source files then point to the installation folder tell it to go and an installation package gets made that I can burn to disk.

View 3 Replies

Unable To Debug Project - Warning    1    Could Not Find Type 'WindowsApplication1.My.Resources.Resources, Time Table'?

Feb 28, 2009

i'm unable to debug my project that i made. i save it and everything, but it just won't playit says Warning 1 Could not find type 'WindowsApplication1.My.Resources.Resources, Time table'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. C:SchoolIPTTime table, using 2 loopsTime table, using 2 loopsForm1.Designer.vb 123 0 now when i open it up and try to debug it , it comes up with an error, i even try referencing it but it does nothing ,

View 2 Replies

.NET Framework 3.5 Offline Installer Is 200 MBs Larger Than The .NET 4 Offline Installer?

Jan 13, 2011

I have code/support an application built on .NET framework that has always run on .NET 2. This year we are upgrading the application to use .NET 3.5 (or 4?). In preparing for this change we noticed that that Offline Installer (required for our customer base) for .NET 3.5 is 200+ MBs bigger than the .NET 4 offline installer.

Here are my questions.Why is the dotnet 3.5 installer so much bigger than the 4 offline installer?

Can we TARGET .NET 3.5 but distribute .NET 4. In other words, is .NET 4 backwards compatible? Assuming that .NET 4 was the only installed .NET could application still target earlier frameworks?

IF our application is compiled for x86 CPU (rather than Any CPU) do you still have to distribute the x64/x86 Client Profile or can we just distribute the x86 Client Profile? In other words, can we distribute the x86 Client Profile even though it will be installed on x64 machines if our app is compiled for x86 target CPU? Any risks or gotchas for doing this?

The issue is that if we upgrade our app to target .NET 4 there are a lot of application servers that we also have to upgrade which effects a number of other applications.

View 2 Replies

Add Additional Content To A Sandcaste?

Mar 12, 2009

I'm working myself thru the sandcastle documentation and found this C# sample.[code]...

View 2 Replies

Add Additional Rows To Dataset?

Jan 26, 2011

I have a parent/child relation I am trying to create fow 2 datasets.The parent ds consusts of a range of PO Header information

After I fill this dataset I loop through it getting the PO number. I then take that value and execute another sql statement on the DETAIL file and fill a dataset(dtlDS) for EACH row in the parent. How do I add to this dtlDS for each row? I am getting no CHILD data in the merge. Should I be filling to a datatable and do an add.row and THEN dump into the dtlDS?

View 4 Replies

C# - Additional Functionality Into Existing ASP.NET App?

Mar 16, 2012

adding certain functionality to an existing ASP.NET application running on IIS 6.0 programmed in VB.NET.To aid in future development the client wants the additional functionality to be as future proof as possible. Ideally i have said that I would like to push for a solution using ASP.NET MVC3, running off IIs 7.5 and .NET 4, written in C#. This solution would act as a seemless addition to the current web-portal appearing probably just as an extra tabbed page.

But they will be completely seperate web-apps. Which is crucial.The main problems i can forsee are firstly sharing session particulars between the asp.net web app and the new application. Particularly with regard to maintaining session state (and not having IIS timing out on one of the apps). Also, conjoining the two "apps" appears problematic in my head, although this may be far simpler than i fear.

1) Embed the new fuctionality into the existing codebase (not a great option). This would mean losing any potential future upgrade-ability and also means not following better OO conventions by utilising the MVC framework.

2) Using an iFrame to link to the razor pages of a seperate MVC3 app (the one im favouring currently). Allows uses of all new technologies, however downside is sharing session data. Either through iFrame "attributes" through persisting a session state to a db? (slow?) or even some kind of web service interaction between the applications to push/pull user/session data?

View 2 Replies

Can't Add Additional Records To A Database

Jul 11, 2009

Im practicing a database and I have a 3-column table. Im using binary formatting to save/open the file. I cant see what is wrong with my code“

I can display records ok when I press the save button

I can also save the records ok when the save/close button is pressed.

When I reopen the programme and press the reload button to reload the dataset, additional records will not be displayed nor saved though original records will be showing.[code]...

View 2 Replies

Get The Additional Percentage Off To Work Right?

Jun 7, 2011

Im trying to get a sales percentage program to work and im having trouble on the last part. My homework is to get the original price from the customer and then take the sales percentage off and show how much it is. Then after the first percentage is off take an additional percentage off part and then show the grand total. I got all the way up to the additional percentage off part to work right. I dont understand why I cant add an additional percentage of and the program wont recognize it and work right.

Public Class Form1
Dim Num1 As Integer
Dim Num2 As Integer
Dim Num3 As Integer

[code]....

View 3 Replies

Stripping Away Additional Characters?

Sep 9, 2009

So, I'm currently working on sending and receiving data via a serial port. In order to use readline, I need to send vbCrLf, which is fine. I'm trying to get it to display just the characters sent and not the additional characters like Cr and Lf. Here's the most basic part of my

SerialPort1.Write(HexSendBox.Text & vbCrLf)
ReceiveBox.Items.Add("Received: " & SerialPort1.ReadLine())
The data I will receive in the ReceiveBox if I seng 'GG' is:

[code].....

View 6 Replies

.net - Additional Partial Classes For A Form?

Sep 3, 2010

We have a big Form class that we like to split into peaces using partial class approach That could be done by manually modifying a project file, and adding MainFormPN.vb entry

<Compile Include="MainForm.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.Designer.vb">

[code]....

The issue with this approach is when double click on this item in VS2008 IDE it shows new empty form, not MainForm UI. It looks like VS2008 does not support multiple partial classes for a Forms.

View 2 Replies

.NET Webbrowser Control With Additional Headers?

Dec 16, 2009

I am using a webbrowser control and loading a website that uses basic authentication. I pass the username and password in the additional header of the navigate routine. The problem is that the header is not retained while navigating the site.

I.E.I log into the site and pass the user name and password in the http header. When I click a link to access another page the header is removed and the site asks for credentials. If I was to just type the site into IE and log in the first time the headers are carried forward on all pages. how I can have the page retain the headers so the user never has to authenticate?

Dim sHeaders As String
Dim HelpBrowser As New WebBrowser
sHeaders = "Authorization: Basic: " & System.Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes("UserName:Password")) & Chr(13) & Chr(10)
Me.HelpBrowser.Navigate("http://www.mysite.com", True, Nothing, sHeaders)

View 2 Replies

Add Additional Dimension To Output Array?

Oct 6, 2010

I need to add an additional dimesion to outputArrayOfBits() in the code below which I hope conveys my intention. I need to convert a one dimensional array of 1 to n boolean (bit) values into arrays that group them by 8's so the output can be consumed by someone needing these values to be in hex format (0000 1111) = 0F How do I change the declaration of 'outputArrayOfBits and the nested control loop to achieve that?

Dim inputArrayOfBits As New BitArray(32, True) ' I can't change this.
'Create array of bytes containing what will be sent out has hex numbers 0 - F
'outputArrayOfBits(0) = (1,1,1,1,1,1,1,1) 'Hex value FF

[code]....

View 11 Replies

Adding Additional Column In GridView?

Mar 18, 2010

I have a gridview which shows selected data from a database all the columns will popup dynamically. but now i want to add an additional column with a list box is it possible or just a column will be fine

View 10 Replies

Adding Additional Rows Of Data?

Jul 2, 2009

I'm am very new to Vb.net, I have coded in VBA.I have created a form that will open Microsoft Excel, add header text to the columns, and insert the text from a few of the controls located on my form ("not finished adding controls") when I click the Submit button.

My problem is that when I enter different data into those controls and click the submit button again, I get a new Excel Workbook with the new data.I need the new data the be submitted to the .Activecell.Offset(1,0) of the already open workbook.Ultimate Goal of Submit button is to open new Excel workbook, Enter multiple rows of data via Visual Basic Form.

[Code]...

View 2 Replies

Create Additional Columns In Gridviews?

Apr 22, 2009

Im trying to add data into a new column I have created in my gridview.[code]...

Now I need to go in and add data for the rows below the column. I have seen ppl saying I need to set it equal to a datafield but how do I create a datafield from scratch then?

View 2 Replies

Display Additional Data Into Datagridview?

Oct 5, 2010

I've got 2 data tables.

tblComponents - CompID (keyed), Name, PartNo
tblProductComponents - ProductID (keyed), CompID(keyed), PercentValue

I want to show tblProductComponents and have only the PercentValue the only value that can be updated. But, I also want to show the component information as well.I can do this in a view but then I lose the update ability using the tableadapter.

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved