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
ADVERTISEMENT
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
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
Dec 26, 2009
How can i create msi installer for my designed project in vb 2008
View 8 Replies
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
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
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
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
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
Aug 8, 2010
I'm wanting to burn the contents of a folder to CD from within a VB.net project.After a few hours of research it doesn't appear as simple as I thought it would.Is it possible to control the native CD writing wizard on XPWin7?All I need to do is add the folder, give the CD a name and start the burn - the Wizard would be ideal and save hours of coding.
View 1 Replies
Jul 30, 2011
How can i link Textbox answers to My.settings that are in my App so that my app can use them? Ive googled and search but found nothing on that. or is there a better way to do that?
View 1 Replies
Feb 2, 2010
I have an error that keeps regenerating when the form is closed and open back up.
1) Windows Form Application (Project: TestProject)
2) Add class in same project:
Public Class Test : Inherits System.Windows.Forms.TextBox
3) Drag and drop into the form within the project (works fine)
4) Close form
5) Re-open form... then error about the class Test in the project not defined
Actual Error: Type 'TestProject.Test' is not defined.
Is there a best way around this besides creating a separate project and putting the 'Test' class in that separate project and referring that separate project in the 'TestProject'?
Modified Added: By the way... i've used Global.TestProject.Test... but then again another error generate with the custom property within the 'Test' class.
View 5 Replies
Sep 29, 2010
Now that I've got this service that runs really great on my 32-bit development machine when I use InstallUtil.exe to install it, I'm ready to take it to the next level and generate something that I can use to install it on my 64-bit production server. I've never done this before, so I'm looking for detailed, step-by-step instructions on how to "publish" this Windows Service that I've written, or make it such that I can take some kind of file (or set of files) and install my service on another machine. I'm looking for a way to do this using Visual Studio 2010. I think the processes are different than in previous versions of Visual Studio.
View 4 Replies
Nov 12, 2009
i create a class library or use already created class library in my windows service project. I have 1 dll file then how can i use that file in my project.?Logic is my Greatest Asset !
View 1 Replies
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
Dec 1, 2010
I've designed my own encryption application in VB 2008 that has a free tools section where users can choose a particular wizard to use from the drop down. The javascript wizards display the code required to put in their own sites. I already created wizards that users can well, use.I see people have their own "contact form wizards" on their websites all the time. Where users can use the wizard and get the displayed code to copy and paste on their sites. But trying to locate source codes to these things is very aggravating on the web.So what I want to do is create my own "form wizard" like out of javascript, that allows the user to put in some information then get the displayed code to put in their own websites. I'm not looking for the generator such as the online form generators.But the javascript source code(s) for the generator itself.Then I could simply put a form generator inside of my VB-app, that will allow the user to use the wizard, then get the html code to paste in their own sites. Preferably not the PHP one because the php backend is very difficult to put in a VB app.I know that it can be done. For example copying a web pages source code then putting it inside a string, then calling that string from a button click that will open the javascript page in the webbrowser inside the VB app.
View 2 Replies
Sep 20, 2011
OS: windows xp sp 2 visual studio IDE: VS 2008
I have found this link for creating custom Install of setup in vb .net[URL]...To create the custom action
On the File menu, click New Project.In the New Project dialog box, select Visual Basic Projects in the Project Types pane, and then click Class Library in the Templates pane. In the Name box, type OpenWeb.
The project is added to Solution Explorer.
On the Project menu, click Add Class, and then in the Add New Item dialog box, select Installer Class.Accept the default name of Installer1.vb. Click Add.Switch to code view by clicking click here to switch to code view on the design surface (or by right-clicking the design surface and clicking
View Code). In the Code Editor, add the following code (which opens a Web browser) to Installer1.vb, under the constructor:
View 4 Replies
Mar 11, 2009
In my project properties I have the version/build numbers automatically incrementing... I'm on 1.0.0.16.
The problem is that with each new/updated installation, my build numbers aren't changing... even though my project properties page shows the appropriate version/revision incrementing. I created the installer project at version 1.0.0.13. Although I'm now at 1.0.0.16, My "About" form still shows 1.0.0.13.
I do not hard-code the version in this form... I use the following
Me.LabelVersion.Text = String.Format("Version {0}", My.Application.Info.Version.ToString)Hope this isn't too vague. The installer project creates a setup.exe and setup.msi file. When I publish my solution is also creates a setup.exe file.
View 4 Replies
Aug 17, 2009
I use VB 2008 express edition. I want to be able to make an installer for my project. If I run the executable file from the development computer, it works fine. When I try to install the program in other computer, it tries to download .net framework. Is there anyway to prevent this to happen? I have the .net framework installer in a CD.
View 2 Replies
Apr 5, 2011
so instead of when i build my project running the advanced installer t make it a exe i just went to my visual basic projects folder and ran it from there and it worked good, so i though if i make a zip file the files in it password protect, and just leave out the startup icon then my users can just click that to use my program while not being aloud into the source code, but after i zipped the folder the program doesnt work anymore, any way to do this?
View 22 Replies
Oct 6, 2009
i want to create a user control using WIA but i m get a error message at run time Error Assembly generation failed -- Referenced assembly 'Interop.WIALib' does not have a strong name. i m working of windows server 2003.
View 1 Replies
Jul 6, 2009
I am running vb.net in visual studio 2005 and i am fairly new to it all, whilst trying to create a windows application i have lost the .vbproj file and am only left with the .vb code that has been created whilst i have been using the toolbox to create the application graphically. Is there anyway for me to recover the .vbproj file without having to redo the whole thing?
View 3 Replies
Sep 30, 2009
Recently I created one windows form application and also created setup project using VS2008.My application works with external software, which needs to be available on the PC.I want to bundle this external application installer in my installer, so that I can check if it is already installed and if not then install it and then install my application.I figured out how to work with pre-requisites that Setup project identifies such as .net framework?
View 1 Replies
Mar 5, 2012
i've created a very simple .exe file on my project in vb winForms but i don't know if i have crystal reports, Database, .swf files on my project.
View 3 Replies
Jul 9, 2010
I have Visual Studio 2008 and am using an installer project as part of the same solution that creates an installer for that exe.
[Code]...
View 8 Replies
Mar 27, 2011
I have a vb.net windows form app that I am deploying as using the visual studio deployment project. The app needs to write event logs to the application log in the event viewer. For reasons explained here I need to create the event source during the installation process. Something like this to run as part of the installer
If Not EventLog.SourceExists(My.Application.Info.ProductName) Then
EventLog.CreateEventSource(My.Application.Info.ProductName, "Application")
End If
That code needs to be run during the installer with elevated privileges. So my questions are:
How do I execute that code above as part of the installer? How do I get the installer to do the UAC prompt to allow that code to run as part of the installation?
View 1 Replies
Feb 15, 2011
Is it possible to create a wizard in VB 2010.
[Code]...
And can I integrate a SQL database to store the data the users enter? It will be for automatic account creation. And I only want them to enter data once, and then I want to retrieve it for every signup.
View 5 Replies
May 7, 2009
I created a small application and an installer project for it. I can install and also run it, only thing htat i dont like is that during setup, it downloads .NET Framework 3.5 SP1 and this takes long sometimes. I want to have it on the installation CD later.
I have seen in the installer's detected dependencies, that there is the 3.5 framework contained and it has a InstallURL property = [URL]..I am a little confused about all the Framework stuff on this site - so just 3 simple questions:
1) which file exactly do i have to download,
2) where to put it and
3) what to write into the property InstallURL then? (Maybe needed to change also other properties)?
View 5 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
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