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
ADVERTISEMENT
Mar 10, 2010
Basically, I wish to fetch a filtered set of objects from the database (Oracle 9.2) based on the id property of the object PsalertsEvent. The code being executed is:
Public Overloads Function GetAll(ByVal laterThan As Long, ByVal filteredPsalertsEvents As IList) As IList Implements IPsalertsEventRepo.GetAll
'Get all psalerts events with an ID greater then the specified laterThan parameter
filteredPsalertsEvents = MyBase.NHibernateSession.CreateQuery("from PsalertsEvent p where p.id > " & laterThan).List
[Code]...
View 2 Replies
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
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
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
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
Feb 25, 2010
[Code]...
how can i get this code to return all values instead of just the first value ?
View 30 Replies
Mar 10, 2010
Does anyone know of an example where I can call a DLL from the .NET Installer?
View 1 Replies
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
Oct 21, 2010
How do you make an advanced MSI custom installer in VB.net? Like InstallShield, ect...
View 18 Replies
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
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
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
Nov 12, 2011
read the COMPLETE email before giving me instructions.I say that because it seams like who ever is responding is only reading part of the email and responding.I have followed your instrutions and I still can not get myhello.vb to compile.
Both vbc.exe and mylello.vb is in the same folder c:program files
"C:Program Filesvbc.exe myhello.vb"
You stated that I should run command prompt as administrator and tye the same command as you do. what (as administrator) is. Please walk me through the complete process. Please do not tell me to run the command prompt as administrator because I do not know what that mean.I can not speak to my administrator. Also I attempting to compile a sample VB that came with the software, so using Visual Studio is not the solution.
View 5 Replies
Jan 26, 2011
Private Sub LoadData(Of T)(ByVal query As ObjectQuery(Of T),
ByRef result As IEnumerable(Of T))
If Connection.State = ConnectionState.Open Then
result = query.ToArray
Else
AddHandler Connection.StateChange,
[Code]...
In the above code I am trying to recurse the LoadData function when the connection is unavailable, I want to defer the loading to when it becomes available. The problem is the above code leads to a compiler error, since a ByRef param cannot be used in lambda expressions.
View 2 Replies
Jun 6, 2011
I have a simple dos command, I use to stop a java service which I am trying to execute within VB.NET, however it doesn't seem to stop my service.My DOS command which works is as follows:
NET STOP "Java Quick Starter"
My VB.NET attempt is as follows but it doesn't work:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Visible = False
[code].....
View 9 Replies
Jul 21, 2011
I like to clarify the doubt regarding vb.net programming. my question is as follows.1. While executing the vb.net program, whether it takes RAM space or Hard disk space.
View 4 Replies
Feb 25, 2009
how can we do remote execution in vb.net?
View 4 Replies
Aug 6, 2011
I wish to get my VB 2010 program to wait a few seconds after executing a command, and then exit.
For example:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'do.stuff
'wait a few seconds
[code]....
View 11 Replies
Feb 21, 2012
I am in need to delay the execution of a line of code, say, by 5 seconds. But by doing System.Threading.Thread.Sleep(5000)
the whole UI hangs and I don't want that to happen. Because I want to be able to display something in a Window that a user will be able to see. Does anyone know of an alternative of achieving this?
View 1 Replies
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
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
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
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
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
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
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
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
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
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