Call DLL From Installer?

Mar 10, 2010

Does anyone know of an example where I can call a DLL from the .NET Installer?

View 1 Replies


ADVERTISEMENT

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

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

.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

.net - Cannot Call Stored Procedure From Code Which Works On Direct Call To Database

May 17, 2011

I connected to the Informix server using RazorSQL, created a stored procedure and tested it, getting the expected answer, so the procedure exists in the database in some form.

I then run the following code:

If ConnectToInformix() Then
Dim cmd As New IfxCommand("dc_routeHasOutstandingQuantity", conn)
cmd.CommandType = CommandType.StoredProcedure

[Code]....

This error does not occur when calling the stored procedure from a live SQL connection.

View 1 Replies

Call A Dynamic Compiled Func(of ) Function Via Expression.Call?

Mar 22, 2012

I want to create an ExpressionTree where a Func(of Vector, Vector, Vector, Vector, Double, Double, Vektor) should be called. So I use

Expression.Call(Forces(0).Function.Method, {Vec1, Vec2, Vec3, Vec4, Double1, Double2})(Vec1-4, Double1-2 are declared as ParameterExpression and Forces(0).Function as Func(of Vector, Vector, Vector, Vector, Double, Double, Vector). But I get an AgrumentException, because Forces(0).Function.Method has seven Arguments. (System.Runtime.CompilerServices.Closure as seventh argument at Index 0).

View 2 Replies

How To Create An Installer

Sep 6, 2009

I have a program, and i need the user to be able to install it. How would i create an installer? I have my set up and everything i just need to figure out how to pack all my files into one program, then a code for my install button.

View 15 Replies

How To Make An Installer

Oct 21, 2010

How do you make an advanced MSI custom installer in VB.net? Like InstallShield, ect...

View 18 Replies

Installer Is Getting Flagged By Some AVs?

May 1, 2011

I have made my own installer over the last 6-9 months.Let me explain how it works.It's designed for monetization.We have a hook product and 3 to 4 additional pieces of software that we offer the user.When an offer is accepted our installer pings a website(PHP) that is linked to a mysql database. It makes a value increase by one when pinged.This represents how many accepts for offer A we have.For some reason we are getting flagged by some AVs and it is because of the http web requests to these reporting urls.

View 9 Replies

Possible To Create A GUI Installer

Dec 5, 2010

I need to develop an application which installs applications by accepting user inputs for example; there are 5 applications (exe files ) in my hand.say

1 . msoffice package,
2. mozilla firefox,
3. acrobat reader ,

[code].....

View 2 Replies

VS 2008 Best Installer To Use?

Mar 20, 2009

In the past I used VB6 to create my apps and used Wise Installer (v9) to create the install package. It was easy because it would read my VB app and automatically setup the file for me. All I had to do was add the numerous other associated files and I was done. Obviously that program is a bit outdated and does not (to my knowledge) have the same capability with a .NET project. Is there any installer out there that does have that capability and does not cost an arm and a leg?

View 10 Replies

.NET Installer To Check If WSE Is Installed

Jul 17, 2009

I have created one setup package using VS 2005 deployment. I need to check wheather Microsoft Webservice 2 is installed or not condition before installing. I have used "Launch Condition" which need Component Id. But i am not able to find to where i can get component id for "Web Services Enhancements 2.0 SP2 for Microsoft .NET".

View 2 Replies

Building An Installer Of A VB App Using SqlServerCE

Jan 2, 2012

I have a VB app that uses a sqlServerCE database. Everything works quite fine on my computer.

When I try to install it on other computers I run into problems. The message "Unable to load the native components of SQL Server Compact corresponding to the ADO.net provider of version 8080"

I am testing on a Win XP virtual machine.

My first attempt was to use InstallShield LE to create the installer. I defined ServerCE as a prerequisite and when I check in add/remove programs it exists, but I still get the error.

Then I tried building the installer with the Microsoft installer. This adds the dll to the program directory automatically, but I still get the error.

I read the KB article referenced (874247) and recompiled the app as an x86 application only, and rebuilding the installer, but have the same problem.

View 4 Replies

C# - Custom Installer Class?

Aug 4, 2009

I'm working on a project which needs some third party components prequisites to be installed before installing my .NET Application. Can someone tell me how to do it ?? I'm using .NET prequisites components to install the components like (.NET Framework 3.5,Windows installer 3.1,Crystal Reports) but what if i have some third party components which is not listed in prequisite lists ...

View 2 Replies

Compiling Software Installer Using VB8?

Dec 22, 2009

make a program that would compile a number of software installer using vb8. i'm planning to do this cause instead of always doing back up of my softwares in my hard disk whenever i'm reformatting my computer, i want to make a table in my program that would list the software names and once click, it will automatically run the installer.

View 3 Replies

Create A Setup Installer?

Nov 13, 2009

Its two programs that work together called Script Writer and Script. My problem is, I need something that will install it on other peoples machines and will be easy to install and use to make. or possibly a way to manipulate the publish option under Vb 2008 to make a setup.exe for the file that won't install it in a funky place. It also needs to install both programs in the same directory. Because Script pulls its information from output.txt which Script Writer, writes information to output.txt. I can share the Vb scripts if you like. But I'm kinda perplexed on this. I've tried installing it after publishing it, then I go to the installation folder and copy its contents, then paste them in a seperate folder on my desktop. It works on my computer but not other peoples computers. Also when publishing my program from VB 2008 it won't publish anything in my debug folder, so html.txt and output.txt doesn't get published with the setup and doesn't install when the setup is ran. So I'm having a few problems here.[url]...

View 19 Replies

Create An Installer That Can Be Included In A CD ?

Jun 5, 2011

I have create an application in vb.net and ms sql 2005 as database storage. How do i create an installer that can be included in a CD. What i mean is if i want to install it in the virgin PC the Installer CD would be able to run the application without an problem. Which software protect licensing installer i can use to create this.

View 3 Replies

Deploy App.config With My Installer?

Jun 28, 2009

As far as I understand all default settings of app.config settings is hard coded in the application and will generated on the fly in the first run.

If this is true then there is no good reason to deploy these files with an installer or in a zip package, am I right?

View 1 Replies

Deployment :: How To Make An Installer

Mar 20, 2009

I have made my program which i want to distribute, how can i make an installation package for it?I know there are third party software i can use to do this, but is there anything in the VB framework that i can use to install it?

View 3 Replies

Deployment :: Installer For Console App?

Aug 31, 2009

I have a console app that does some database access, creates a crystal report, and emails the report to some users. I made it a console app so it can be easliy run and configured as a Scheduled Task.

Do I need an install program for this or can I just copy the exe file out of the Release folder?

View 2 Replies

Dll Execute During MSI Execution(Installer)

Mar 24, 2010

I created an MSI for my application and i want my dll to execute during installation of this MSI. How can i add my dll to MSI. I read something on ORCA but getting error.

add my dll to msi using orca. My dll contain a message box and registry entry

View 2 Replies

Have Program Installer Run My Code?

May 29, 2012

I have been searching online for an answer for this question, but cannot find anything useful in my case. I added deployment to my project, but I want that deployment to copy JavaScript files to a certain dynamic location. The only way I can think of is having the deployment call my function that I can write in VB.net.

View 1 Replies

How To Build Installer In Project

Mar 13, 2009

I was having error while making the installer in my program. I have images inside the debug folder and i use those images in my program. I successfully create the installer the problem is that when I run it it gives me an error message looking for my Images folder.

View 1 Replies

How To Make An Installer For Program

Nov 11, 2011

i would like to ask on how to make a installer for my vb.net program. Are there application that is capable of making an installer.

View 1 Replies

Installer Used To Create A .net Program?

Jun 27, 2010

what is the name of the installer used to create a vb.net program?

View 1 Replies

Javascript - .Net 2010 Installer?

May 29, 2012

I'm currently trying to create a Visual Basic 2010 Installer for an application that I recently created. The idea of the Installer will push the necessary JavaScript Files to the designated location and also create the program for users to use.

Problem: I am trying to incorporate the Javascript files into my Installer so I can push it into the user's files - of course, checking if that file structure is installed or not, but I do not know how.

View 1 Replies

Make An Installer Instead Of Publishing?

May 18, 2009

i would like to ask....after i completed my application and i would like to make it become an installer instead of publish it,what should i do next?

View 9 Replies

Make Installer By Coding In .NET?

Jun 9, 2011

I have completed a VB.NET project and I want make a installer for this project by coding.so I don't know how coding !

View 3 Replies

Make My Own Installer Without Using INNO?

Feb 16, 2010

How can i make my own installer with out using INNO for example.

The current one i use is Click Team it's freeware but has a ad at the end which i hate. I made a small application that downloads the latest version of the main application. But the problem is that it downloads the click team install package.

View 3 Replies







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