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


ADVERTISEMENT

Compiling Error 'The Value "Ctrl" Can't Be Found' While Compiling VB2008 Imported Project

Feb 15, 2010

In one of my forms witch I imported from VB2008 there are all properties saved in the *.resx file. One Property, of the Type System.Windows.Forms.Keys, can contain the Value 'Ctrl+F1' witch compiles fine in VB2008, but not in VB2010. To reproduce, simply add the following to any resx file:

<data name="cmdFenster.ShortcutKeys" type="System.Windows.Forms.Keys, System.Windows.Forms">
<value>Ctrl+F1</value>
</data>

It will compile fine with VB2008, but not with VB2010. Notice: The VB2010 also generates this Code in the resx file

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

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

Compiling DLL On XP?

Dec 21, 2011

I'm trying to compile old Visual Basic dll code on XP, and it gives me error message "Error in loading DLL". I don't know exacty which dll is it, but the project references external dll created in visual studio 2008.

View 2 Replies

Compiling Exe(s) Into MSI?

Jun 21, 2010

I am using VB .NET 2010 express, thought I don't know how much that matters. I was wanted to create an MSI installation of a bunch of EXE patches. How can I do this?

I already have a program made that downloads all the patches and places them in a folder. I just need something to takes all those and make them into 1 .msi file.

View 8 Replies

Compiling A .net Application With Either A 32-bit Or 64-bit Dll?

Aug 17, 2010

I have an application that we wrote here at work that uses the SharpSVN wrapper for SVN. It has served us well of the past few years. However, we have started bringing in 64-bit systems and our application cannot seem to access the SharpSVN dll on these systems. I have downloaded the 64-bit version of the SharpSVN dll and I am wondering what to do next. I cannot stop my 32-bit users from using the application, so I need to be able to compile for both platforms. Luckily, with this application, we split different layers of the ntier stack into separate projects within the solution so my business layer that utilizes the SharpSVN dll is on its own.How would I go about compiling both a 32-bit and 64-bit version of my application without having to maintain two copies of the project?

View 2 Replies

Compiling An Exe With A Database

Feb 1, 2010

My program is a database one. I need it to compile to an exe. And be able to be put on a cd and sent into school with the database working? How do i ?

[Code]...

View 6 Replies

Compiling In 64 Bits With A 32 Bit Dll?

Nov 4, 2010

I have a 3rd party dll, and I can't have it referenced while compiling for 64 bit. Is there a way around this? I'm guessing it is because the dll is a 32 bit one, but I'm not sure about that.

View 7 Replies

After Compiling A Project Can't Open The .EXE?

Aug 20, 2010

when i compile the project and run it get the error Project Project has encountered a problem and needs to close. If you were in the middle of somthing, the information you were working on might be lost[ Close ]

View 4 Replies

C# - Selective Resource Compiling In .NET?

Apr 13, 2009

How can I choose which resources to compile depending of the compile constants used? So, if VAR1=0 then I wouldn't add RESOURCE_A to my final assembly.

I searched around, but didn't find any info regarding this... I guess I'm using the wrong keywords, since I doubt nobody else had this problem/doubt ever before.

Also, I use both VS2005 and 2008 at my job, mainly VB, although I haven't got any problem using C# either.

View 2 Replies

Compiling Application Only Source Available

Dec 29, 2011

I'm trying to compile some code that I found for an Application that I want to use. Now I've download VB.NET express created a new project and just replaced the code with the one I got, but this isn't creating the forms (textfields etc.) at all, so I can't compile it. What else do I have to do to be able to compile it.

This is the source code:
Public Class Form1
Dim psc As String
Dim pwchange As String
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code] .....

View 1 Replies

Compiling DLL For Silverlight 3.0 With VBCodeProvider?

Oct 14, 2009

I am having difficulty dynamically compiling a DLL for use with Silverlight 3.0. My goal is to take some rules provided by my users and compile them into a DLL for custom editing purposes.I created a Silverlight class library project in Visual Studio to get the command line for compiling a Silverlight class library. Based on that and the many examples for compiling VB using the VBCodeProvider, I came up with the following method for comping code in a string to a DLL:

Public Function Compile(ByVal code As String, ByVal assemblyName As String) As CompilerResults
' set the compiler parameters
Dim parameters As CompilerParameters = New CompilerParameters()
parameters.OutputAssembly = assemblyName

[code]....

This does not compile with the following error:vbc : Command line (0,0) : error BC2010: compilation failed : 'Member 'IsNumeric' cannot be found in class 'Microsoft.VisualBasic.Information'. This condition is usually the result of a mismatched 'Microsoft.VisualBasic.dll'.'

I've looked and, in fact, the Silverlight version of the class Microsoft.VisualBasic.Information does not contain member IsNumeric. So I appear to be picking up the correct libraries using the sdkpath option. But I have no idea why I'm trying to call that method in the first place.how to successfully compile source code dynamically into a Silverlight compatible class library?

View 1 Replies

Compiling Path And Reference

Sep 2, 2009

Suppose I have a solution containing several projects. I set the compiling path as ..in folder. A reference file xxx.dll is used in project aaa, yyy.dll is used in project bbb etc.

xxx.dll and yyy.dll are stored in c:sharedlls folder.

My question is that if I compile the entire solution, do xxx.dll and yyy.dll are draged into ..in folder automatelly?

I am not clear the purpose of the compiling of the solution exactly.

View 4 Replies

Compiling To Machine Code?

Apr 23, 2011

After reading a couple of tutorials, it seems that basically NET works quite like java. All the IDE's produce an intermediate code that I have to distribute, and which NET compiles at runtime to machine code and then executes it. Leaving aside the question why so when NET works only on Windows platforms, I have some other more practical questions:Is it possible to directly compile to machine code targeted at specific platform like XP 32-bit or Win7 64-bit?

View 2 Replies

Compiling VB6 Code In .NET Environment?

Oct 15, 2010

Is one able to compile VB 6 code in Visual Studio.NET ? In other words, is it backwards compatible with older VB code?Since I know there is a difference between managed code (.NET) and unmanaged code, I am wondering if Visual Studio.NET is able to compile unmanaged code as well?

View 4 Replies

Database - Compiling .NET App As 32-bit Only So Can Use Access DB

Jan 28, 2010

I keep getting this error when I try and use a MS Access database in my application:

The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.

After Google'ing the error for a while I came to see that this is a problem when running the application in 64-bit mode. If I was to compile the app in 32-bit it would work, so I went to try and find out how to do it. I got as far as the advanced compiling options in my projects settings page, but then I also read that I can't even set the CPU type in Visual Basic 2008 Express.

is this true? Is there no way I can set my project to run in 32-bit mode? The thing is, I did a similar thing with a database a few months ago and this worked, and I don't remember in the slightest what I did.

EDIT: After taking a look at my old projects compiling options, it is indeed set for Active (x86) Platform, but this option is not showing up in my new project. Weird.

EDIT 2: Here's a screenshot. Top one is the old project with the 32-bit running option and the bottom is the new one without those options.

[URL]

View 2 Replies

JavaScript - Compiling .hta File To .exe?

Oct 20, 2010

compile my .hta file (and resources) to a .exe file.There are plenty of applications that claim to be able to do this - but they have not worked for this application - which is a mixture of javascript and VB.Simply, (and naively,) I don't want people looking at / screwing with the code.

EDIT: Of course, I understand that javascript and VB are not "compilable" since they are interpreted languages. I am just looking for a way to truly hide the source.

View 4 Replies

Locked File When Compiling ?

Oct 25, 2010

I have been using VB2005 for many years on 2 PCs. Over the last month I have been getting an error when I try to run the project from the IDE:

Error 1 Unable to copy file "objx86DebugBackup.exe" to "binx86DebugBackup.exe". The process cannot access the file 'binx86DebugBackup.exe' because it is being used by another process.
C:WindowsMicrosoft.NETFrameworkv2.0.50727Microsoft.Common.targets 2324 9 Backup

My questions:

1. What has changed?

2. One thread I found suggested that it is a bug, but if true is this something that has been introduced recently (I'm not aware up updating VB2005 unless it happened as part of the general updates).

3. How do I get it back to where it was?

The file is actually locked by my own process, no other application can be using it. I've even tried it with a few line noddy program. I always have to come right out of the IDE, wait a couple of minutes and then go back in - a total productivity killer.

View 4 Replies

Understanding In-memory Compiling

Feb 27, 2010

It is my understanding that in .Net 4.0, VB will have an in-memory compiler.

I have to admit I don't know a lot about the compilers so I'm trying to understand the advantage of this as compared to what we had before this. Also, will C# be coming out with the same type of compiler?

View 2 Replies

Web Components Axspreadsheet Not Compiling

Jun 5, 2009

has anyone seen this error with compiling web components in vb.net? i added axspreadsheet on to my form and it does not compile.[code]

View 1 Replies

.net - Compiling A Click-once App That Requires Administrator?

May 25, 2010

A lot of my programs require the ability to write files to the hard drive. When I first made these programs for XP they worked great. Now I'm less ignorant about UAC (got a new laptop recently). And for future customers...I've noticed the potential for a LOT of annoying error messages....and quite frankly if the program can't write data to the hard drive or thumb drive it's on...there's no point to running it....

I've tried multiple times to build in the manifest a requirement for administrator or user access....I'm not sure if anything less would solve the problem...but have failed because click-once has security features in place to prevent me from doing so.I'd rather not have to tell my customers how to make the program run as an administrator by editing the file's properties...I'd much rather have a convenient pop up like what you'd see new programs such as Itunes or Filezilla show if they were in conflict with UAC requesting the privileges they need.

I'd really like to do this but have had little success.

View 1 Replies

CheckErrorStatus(Int32) Compiling My Application

Aug 31, 2010

I'm getting following error while compiling my application. Overflow Exception .... CheckErrorStatus(Int32). It has something to do with my drawing. The strange thing that my computer (where I made the application) doesn't give any error, but my clients-computer gives an error. Strange...I really don't know what could give the error...and some solutions. I've been working for one full year on the application and it works great...except not on the clients pc

View 10 Replies

Compiling A Class Module Into A .dll File

Feb 23, 2009

I want to know how can convert (compile) a class module into a .dll file. You can refer to me an article, tutorial or a code sample.

View 1 Replies

Compiling A Project / Database String

Aug 4, 2010

How do i compile my vb project?I tried to compile , but i'm not sure which setting i should put and what i shouldnt.i did tried publishing, but i'm not sure which path of location to be publish and i put c:/ as the path and i can't load the database.The location of my db path in the string.[code]

View 1 Replies

Compiling Adds Cast Operations?

Jun 10, 2011

On compiling a visual basic assembly, int32 variables are cast as int64 for calls to adodb methods that require int32. This results in a method not found exceptions at run time. The unnecessary cast operation can be seen when using reflector to inspect the site of the method call and is not present in the source code.To further muddy the waters when the code is compiled on my 64bit windows 7 machine all is well, but on a 64bit windows 2008 r2 the unnecessary cast is added.

View 1 Replies

Compiling Executable To Work In All Frameworks?

Nov 29, 2010

I have created an exe file by compling on vb. However finding that not all systems like it and .net framework & isnt as compatible as you first think. I have create an application which doesnt use "imports" to reference anything. I compiled it in .net framework 2.0. It didnt work on XP machine which had .net Framework 4.0 got runtime error. Is there anyway making the compliled .exe available for all frameworks or am I going to have to create an .exe for each .net framework to encompass all versions?? Does it have to use .net framework at all depending on the application?

View 3 Replies

Compiling Project At Runtime With Resources?

Sep 22, 2009

My app bundles a set of VBScripts (UTF8 text files) into a VB.NET assembly. I used to embed the script code into the classes as String members, but this is proving to be a poor design. I want to include them as resources instead. What's the best way to add resources to the CompilerParams?

What I've got so far (excluding all the error checks):

Dim comParams As New CompilerParameters()
comParams.OutputAssembly = DLL_Path
comParams.ReferencedAssemblies.Add("System.dll")

[Code]....

The CompilerParameters contain fields for EmbeddedResources and LinkedResources, but from the examples I found so far these seem to pertain only to framework resources???

View 1 Replies







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