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
ADVERTISEMENT
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
Aug 28, 2010
While publishing, how can I select ClickOnce or Windows Installer. Where can the choice be made?
View 2 Replies
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
Aug 23, 2009
I am working on the msi installer built by VS(Setup and Deployment Project). I 've got everything else working like charm except the prerequisites of the project.
[Code]...
View 2 Replies
Jun 9, 2010
I am currently in the process of creating a simple installer to copy files that come with my program and move them into another directory (a game, which I modded, I decided to create an installer to make it easier for people to install). However, I am looking around and trying to find out if it's possible to compile the files into one .EXE instead of a .EXE and a folder containing the files. Whether VS 2008 can do this, I don't know. If it doesn't, is there another program which can compress it into a standalone .EXE?
View 8 Replies
Apr 30, 2012
I'm normally an ASP.NET developer but my latest project has me writing a console app. For this console app to function, it needs two executables, two DLLs, an XML file that should be configured with a WinForm I've developed (so another .exe), and a working folder should be created (for when my console app runs). Further, it would be nice to have it automatically set up a Scheduled Task for batch operation.How do I package the various files into a self-extracting package? I'm playing with WinZip's self-extractor creator and it's okay, but I don't see a way for it to launch further processes, such as creating a working folder for the console or launching the WinForm above.Is there a way to create an auto-extractor in VB.NET where zipped contents are part of the "payload" of the .exe? It seems to me this would give me the most flexibility, as I could write a WinForm that does everything.
View 2 Replies
Mar 4, 2010
i have published my project and exe file has been created....
now i want to make a installer with some other applications...i have
myproject.exe
.netframework 3.5
adobeflashplayer.exe
now i want to make a single installer that should install these application at once...how should i do that
View 2 Replies
Jun 4, 2010
I have an application that uses a SQL Server backend. I wish to be able to create an Install project where the it can install SQL Server and/or an instance on the users machine. Has anyone ever done this before? If so, how is it done? Any examples, etc.
View 2 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
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
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