VS 2008 Performing A Minor Update With Windows Installer 3.5

Mar 27, 2009

I am using the windows installer which comes with VS 2008 to deploy my software. My initial deployment went well and I have several happy customers now. Unfortunately, one of my users found a bug. I have been able to locate and repair the issue- a simple math error in one of my forms. Now I need to deploy the repair to my existing customers without causing them too much headache in the update or, worse yet, inadvertantly deleting their stored database files.I know I can have them back up their existing db file, reinstall thenew app, and replace the new db files with their backup versions- but what a pain in the neck that will be, and it really won't look too professional, either.Does anyone know how to produce a patch to replace only the form that was repaired? Or, can I somehow exclude installing the new database files in the patch? I know the solution revolves around the Upgrade Code and Product Code, but I'm not putting the information together in my head very well.

View 6 Replies


ADVERTISEMENT

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

VS 2008 Windows Installer Project Version Req?

Apr 5, 2009

I've decided to go with a Windows Installer (Setup Project) in VS Prof, rather than ClickOnce,I've added this project to my main project, and have right clicked and selected 'View -> Launch Conditions', it requires the .netframework 3.5.21022...

But I've created the installer project for .NET 2.0 framework, is this going to stop someone from installing the project without .NET framework 3/3.5?EDIT: I've found under the properties of that installer project, that .NET framework 3.5 and Windows Installer 3.1 was selected as a prerequisite, unchecked those, and checked .NET Framework 2.0, however the version under the launch condition .NET Framework is still 3.5, it should be 2.0

View 1 Replies

Performing Insert And Update On A DataTable Using LINQ

Jul 12, 2011

I am pretty new to using LINQ and have been trying it out querying my strongly typed DataTable.
I have managed to perform a 'Select' ok but was wondering if someone can point me in the right direction to do Insert and Updates. I'm not sure if LINQ is best doing an insert at all?

My Select code is as follows:

Dim results = From myRow In _dt.AsEnumerable() _
Where myRow.Language_key = Lang And _
myRow.Section_key = SectionKey And _

[Code]....

View 1 Replies

VS 2008 - Email Sender Minor - Syntax Error, Command Unrecognized

Oct 11, 2009

Note: This is not my code, I was just looking to edit it, but I run into this problem... "Syntax error, command unrecognized. The server response was: CLIENT AUTHENTICATION REQUIRED. USE ESMTP EHLO AND AUTH." (Bolded @ bottom)

Imports System.Net.Mail
Public Class Form2

[CODE]...............................

View 7 Replies

Make The Progress Bar In Windows Installer Look Different?

Apr 2, 2009

Is there a way to make the progress bar in Windows Installer look different?Could you make it look like a progress bar with the green boxes?

View 7 Replies

Publishing ClickOnce Or Windows Installer?

Aug 28, 2010

While publishing, how can I select ClickOnce or Windows Installer. Where can the choice be made?

View 2 Replies

Use A Windows Installer To Set Group Policy

Feb 18, 2009

how to build something like the following:I have an application that will reside on Kiosk style PCs that are out there in public settings. While the application is running on the Kiosk I'll need to restrict the access to certain PC features (reboot, command prompt, download files, etc.) so they don't mess with the PC. I need to build a Windows Installer that deploys the application and does all the set up needed to lock down the PC. The installer needs to do all the work; there can't be any manual steps besides running the installer. The installer will install the application, this part is standard. In addition it will create a local user and use Local Group Policy Objects to restrict the user's access to the machine. Then the machine administrator will log in as that local user and run the Kiosk application under this account. The hope is that the account is locked down and people playing with the application won't be able to stop the application or do anything malicious to the PC.I have been looking for a way to create GPOs in C# code. This way I can implement the GPOs as a CustomAction in my installer. So far I am not finding the right API for GPO management so I'm starting to wonder if I'm even on the right track.If you know of a nice solution for how to accomplish the Kiosk lockdown via a Windows Installer or you know something about managing Group Policy in a C# application

View 7 Replies

.net - Visual Studio 2008 Performing Like VBA?

Jun 30, 2011

I know about VSTO/VSTA, and I also know that some VBA functionality (with .NET syntax of course) can be done in .NET. There is definitely a learning curve going from VBA to .NET without VSTO. My question though is, can everything that is done in VBA somehow be recreated in .NET without VSTO?

The reason is because I am converting my VBA application into .NET for several reasons: I want to take advantage of OO, my class libraries will be better available for use, and for fun. I wouldn't be too happy if I got so far in only to learn of some limitations.

View 1 Replies

Create A Windows Installer Project With The Aid Of A Wizard?

Jun 16, 2009

i want to create an installer of my program.but i want it to be with the aid of a wizardcould somebody tell me how to create it. i dun know how to create an installer.

View 2 Replies

IDE :: File Versions Work With Windows Installer?

Mar 25, 2012

I've read about revising the File Version (and Assembly Version) to ensure that an updated file does replace an older/previous file when a WI update installation is carried out, but I don't understand the four-part construction of the File Version ... and my re-versioned files sometimes refuse to transfer to the target computer.

For example, a .exe I have recently updated had it's File Version set to 1.0.0.0 (it is resident now in my Program Files (x86)/MyApplication folder) and File Date 23/03/2012, but even now with the File Version set to 2.0.0.10 and a File Date of 24/03/2012 when I use WI to install the new program over the original the 1.0.0.0 file remains in place and the new 2.0.0.10 file does not get installed instead.

[Code]...

View 2 Replies

Windows Installer Put Files In Wrong Folder

Mar 31, 2010

I am working the first time now with windows installer. I made an application consisting multiple programs and one of them needs a shortcut to the user startup folder. Therefore I selected in the Installers file editor the special folder 'Users startup folder' and put there the shortcut to the program.

But when I install the programs the shortcut is placed in the common startup folder and not in the users startup folder

View 1 Replies

VS 2008 - Selected Time And Performing An Action

Apr 11, 2009

im using an open source backup tool and im going to add extra functions. [Code] All in all im wondering how i can incorporate "sleep" into sleeping until the selected time, and then performing the backup.

View 1 Replies

Building A Custom Installer From A Windows Forms Project?

Aug 11, 2010

What actually is required to consider something installed on a machine. What happens in the background? I know VB offers an installer but Im trying to build my own from scratch. What do I need to do to accomplish this?

View 13 Replies

IDE :: How To Auto-mate Windows Installer Setup In Application

Dec 30, 2011

I am seeking advice or clarification of feasibility.Ihave a VB.NET (2008) application that, as an administrative tool,generates a user id, password and business role, and creates a file on disk with the aforementioned as content. This file needs to be deployed to users via a setup program that will put the file in a fixed path I specify. I was wondering if it is possible (and if so how complex it might b to mimic the functionality of the IDEs setup and deployment wizard within the application (that is to say buildthe msi file and setup.exesupplying the parameter of installation path).

View 5 Replies

Put Shortcut On Programs Menu On Windows Mobile In Installer Cab?

Jul 27, 2009

Where do I put the shortcut icon for my mobile application in the Installer project for a Windows Mobile project so that when the cab is installed the icon will show on the Programs Menu?

View 1 Replies

Updating A Software Developed In .NET 2005 - Windows Installer

May 17, 2010

I'd like to know which would be the best way to deploy updates of a software developed in vb.NET, using Windows Installer. What do i have to change? Upgrade code? or Product code?

[Code]...

View 2 Replies

Windows Installer Monitor - Include A Tool With Installation

Oct 6, 2009

I created a windows installer installation for my vb.net application. I want to include a tool with my installation that will run before the install begins and monitor the installation and send the log and errors to me (by email for example)

View 1 Replies

C# - Windows Service Installer For Different User Account (other Than Local System)?

May 1, 2012

Set objService = objWMIService.Get("Win32_BaseService")

objService.Create("usb2", "usb test", "c:usb2.exe",
OWN_PROCESS, NORMAL_ERROR_CONTROL, "Automatic", NOT_INTERACTIVE, null

[code].....

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

How To Create Windows Installer That Will Include Application And Merge Module

Aug 2, 2010

how to create windows installer that will include my application and merge module? I'm using VB .net Visual Studio 2005. I can create a windows installer for merge module and public my application, but I can not have both of them in one setup file.

View 1 Replies

Using Visual Studio Installer For Deploying Windows Forms Project?

Feb 1, 2011

I'm trying to build a setup program using the built-in Visual Studio Installer. I'm using VS 2010 and working on VB.NET.For the most basic kind of program, I have an EXE file which works on a XML file (the XML file is treated like a database). So on a Windows 7 platform with UAC enabled, the best deployment is to install the EXE file in the Program Files folder, and the XML file in the application data folder, for security purposes of Windows. (Windows, now, does not allow creating/writing files inside the Program Files folder unless your application is running with administrative privileges).

So I have added VS Installer to my current project and have opened its File System Editor. So to create the above layout, I've added Primary Output to the Application Folder. Then I've added its shortcut to the User Desktop.Now I need to place my XML file to the application data folder. VS Installer gives the option of User's Application Data Folder, which is the %appdata% folder in the environment table. I need to access the All Users' Application Data Folder.

1) How do I access the All Users' Application Data Folder over here?

2) I tried using the User's Application Data Folder. It doesn't work. It doesn't create any folder in the %appdata% (e.g. C:UsersFarazAppDataRoaming). I tried to play around with various properties, like AlwaysCreate which is supposed to create a folder obligatorily. It doesn't create anything.

View 5 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

Include Crystal Reports Assembly (crystaldecisions.reportappserver.commonobjectmodel Ver 13.0.2000.0) Into Windows Installer?

Sep 21, 2011

I have built a project using VS 2010 and I have 2 reports I am creating within the project. While in VS2010, I can debug the program and the reports work perfectly. Now I have come to the point where I want to publish my project and install it on a machine that my program will be used on. I tried 'Publishing' my project and running the 'Setup' file on the other computer and I get the following error: Unable to install or run the application. The application requires

that assembly CrystalDecisions.ReportAppServer.CommonObjectModel
Version 13.0.2000.0 be installed in the Global Assembly Cache (GAC)
first. Please Contact your System Administrator.

Doing some research, I have found out that you can manually change the GAC or have Windows Installer fix it for you. To be honest, I don't know where the GAC is or how to modify it. My ideal solution would be to figure out how to setup Windows Installer to fix the GAC and configure Crystal reports however to get my project to run on a basic machine. setup Windows Installer to install the appropriate Crystal Reports Engine so my project will work??

View 2 Replies

GetLineWithText Minor Dilemma, Easy Fix?

Aug 22, 2010

Dim lines As String = System.IO.File.ReadAllText("C:12345.txt")
Debug.Print(GetLineWithText(lines, "swf"))

[code].....

View 2 Replies

How To Block Popups, Minor Question

Oct 9, 2010

I was wondering, how can I block pop-ups (Ex: Script Errors, advertisements) in a Visual Basic web browser?Also, I was wondering is there a way to add a web browser to every tab I add. What I mean is to get my window problem to work, I had to add a webbrowser to a tab page. How can I make it to where I add a new tab, that it will automatically add a new web browser

View 5 Replies

Retrieve Major And Minor Version Of App?

Jan 1, 2010

How can I retrieve the Major and Minor version of the Application ? I wouldn't ask , but every time I try to use the My object to retrieve those properties , I only receive 1 and 0 , though I manually set them to 3 and 8 (from the project properties)

View 7 Replies

Major, Minor, Build And Revision Definistion?

Aug 16, 2010

I am having troubles on what each of these mean.Mayjor, Minor, Build and Revison mean.I found a link to a topic like this, but I totally did not understand it.how to I apply the version details? I went to the properties of my progect and when to the publish tab, and set it in there, but when I right click on my application, it still always says, 1.0.0.0.How do I make it so it will say the version that I have it set in the publish tab?I am not publishing them to the internet,I don't have and FTP or what ever you need, plus I don't think there is a point to publish my programs, they are low level compared to everyone else who programs.

One more thing.If I want to make it so the application is done for that version, and is ready to be used on other computers, should I just use the app that is in the debug folder, or should I build it, then use the one that would be in the release folder, or is there something better that I should do?

View 6 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







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