Block All Installation Software?
Dec 10, 2009Somebody have code VB.Net for Block all installation software
View 1 RepliesSomebody have code VB.Net for Block all installation software
View 1 RepliesI just made an application using MySQL for the database. I use WAMP.Can I combine WAMP and my application installation into one packet installation ?
View 2 RepliesI have installed a DLL in GAC it is isnstalled properly but it is not refelcted in reference.
View 4 Repliesmy app cant see my access db after installation.i traced the location of the db on the computer after installation
C:\Users\Timosoft\AppData\Local\Apps\2.0\QY65PWX9.W3T\QECRQCWW.P3T\wwtb...exe_e6ecfcd40db94ae4_0001.0000_none_93fcea95705260c6\bin\Debug
didnt get it.am using below code in the program to locate the db.
'declare provider and location
strPath = Path.GetDirectoryName(Application.ExecutablePath) & "\bin\Debug"
dbProvider = "PROVIDER=Microsoft.ACE.OLEDB.12.0;"
dbSource = "Data Source=" & strPath & "\wwtbamDB.mdb;Persist Security Info=False;Jet OLEDB:Database Password=kkkkkkkvvf??"
I've published my application for installation via CD or DVD. I installed it on my machine and it worked fine. I have a couple of questions, I couldn't find the answer to in the GUI. First, when the application is installed, it immediately launches. Can I make something in the installation where a user can click a checkbox saying launch after install? If not, how can I disable the application from launching after the install. And secondly, the application is installed, a desktop shortcut is created, and the application is added to the programs on the start menu. How would I add an uninstall link in the program menu along with the icon to launch the application? Currently I have to go to the control panel add remove programs to remove the application.
View 1 RepliesI recently formatted my PC, re installed Windows 7 64 bit and Visual Basic 2010 Express.When trying to connect to a database I am getting the following error "he Microsoft.ace.oleb.12..0 provider is not registered on the local machine"..After Googling the error most point to suggesting compiling to 32 Bit.I cannot see how to tell VB 2010 to compile to 32 bit.
View 12 RepliesI am writing a installation program that will copy embedded MSI's to the local disk, install each one then delete the MSI's and I don't know how to get the MSI installation status so that my application knows when the installation is completed for each one.
View 2 Repliesi've just completed a vb application and i 'm asked to write installation notes + system requirments to install and the requirments needed to run this application.
View 1 RepliesI downloaded Vb express 2008 from Microsoft site. I am using WindowsXP The download was completed and when the setup starts the progressbar of .Net Framework 3.5 SP1 stops in half way and it is just stuck up with no further movement ahead even after 30 or 40 minutes time. I tried it several times but it just stucks up in half way.Because there are 5 or 6 components of vb express 2008 download and it installs only first component and when it reaches the second component of .Net Framework SP1 the progressbar just helds up in the half way.
View 3 RepliesUsing the code below, I am determining if the computer has service pack 1 installed for office and windows. How do I then execute the SP1 .exe if it is not installed?
[Code]....
I am creating a small VB.Net (Framework 3.5, Visual Studio 2008) application, requirement is small.
I want to make an EXE and that should run without installation.
I am Ok if all the dependencies, like dlls, are present in ApplicationStartupPath().
The Application should be standalone without installation. Bcoz, I don't want to create a big scene to install a huge .Net Framework in client PC for just a small application, as I said the requirement is small.[code]...
How do i insert the images during an customize installation?
For example, when i was installing Skype, screenshots of Skype appeared during the installation. How would i make that during my installation, with images appeared and disappeared just like skype. I know i could use code to bring back and front, but that is not how i wanted it to be. I tried that code before, but doesnt look good enough.
I code on the side for a little extra cash. Up to now it has always been one off conversion programs. The problem is that I am being asked to generate a report program and there is a dealer acting as the go-between for the end user. I want to maintain control of this program. I don't want this dealer to be able to distribute it to all his customers (or worse sell it), but have no idea of the best way to do it. Since I do this on the side, I obviously cannot afford to purchase a third party utility.When I try to search, all I get are links to people asking what to do when an installation fails. Can anyone point me to a tutorial or article on how to do this without resorting to buying a utility?
View 4 RepliesI have finished my VB program and have been publishing it. I included all the necessary prerequisites and published it, and it worked fine. But then i tested it on some other computers, and while installing the prerequisite SQL server express, it will fail the installation.
When i installed it on computers with Windows 7, SQL did not require do restart and it worked fine. When i installed it on computers with Windows Vista and XP, SQL did require to restart and the installation will always fail.
I think i know whats causing it as well, while publishing it comes up with the warnings
"Item 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'C:Program Files (x86)Microsoft SDKsWindowsv6.0ABootstrapper'. "
and also
'SQL Server 2008 Express Edition' could not find dependent item 'Microsoft.Net.Framework.3.5.SP1'.
[code]...
Are there any disadvantages working in a 64-bit environment?
View 4 RepliesI am trying to figure out where to place a code that would cause an application to always delete a database file ONLY when being installed. However, it should not delete this file after installation I.e. when being used. I know you can use: If File.exists() Then File.delete(). But where do you place this code sothat it does not Delele the file when being run? I have tried this but it copies a new file everytime I run the application and data is lost.
View 7 RepliesJust after installing my application, I need to attach my DB to SQL server. I am using following code for it.
Dim cmd As New SqlCommand()
Dim vrMyConString As String = "Data Source=.SQLExpress; INITIAL CATALOG=master; uid=sa; pwd=sa;"
Dim conn As System.Data.SqlClient.SqlConnection = New SqlConnection(vrMyConString)
cmd.CommandText = "sp_attach_db 'e:dbTest.mdf', 'e:dbTest.ldf'"
' conn.ConnectionString = "Data Source=.SQLExpress; INITIAL CATALOG=master; uid=sa; pwd=sa;"
conn.Open()
[Code]...
It returns an error:"Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection."
i have a vb.net application
i published it
it made an app files diretory, setup.exe, and some other file
i need everything to be in one file because the users are not very computer savy
is there a way to bundle everything in one installation file?
When I install my application on my computer I get a warning that the publisher is not verified. How can I change that? or do I need to worry about that when I distribute my application? The application is written in Visual Studio 2008 with VB.NET
View 2 RepliesJust after installing my application, I need to attach my DB to SQL server. I am using following code for it.[code]It returns an error: "Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection."
View 11 RepliesI create an exe file of my software. After first installation I have to disable the exe, so it cannot be run again because when someone purchases the software from me they can install it only once.
View 3 RepliesI've written an application [Visual Studio 2005 / VB) that works fine when I build it on my Win 7 PC.But when I try to install it XP as a test it falls over imediately on a 'file.exists' call made to establish if the data file exists or not (and if not then create it).
But it raises an exception because it can't find the directory that the file is supposed to be in. For the files location I was using Application.ExecutablePath but on the XP machine it is some weird directory like
Code:
[Code]...
how can I create an instalation form?
View 6 RepliesComputer.FileSystem.FileExists(Environment.GetFolderPath(ProgramFiles) to get the Program Files directory in my application. The problem is that when running on a 64 bit version of Windows 7, I am getting the Program Files (x86) directory, not the 64 bit directory. As far as I can tell, everything is compiled as 64 bit.This code is actually in a DLL that is accessed during the installation of the program.
Is there any way to get the 64 bit path?
I have a call to the mediaPlayer in my project (to play a wav file). While publishing the project, vb.net does not include this wav file to the applications file and while intalling this wav file is missing. Hence I need to copy it manually. How can I make vb.net include this wav file in the installation?
View 13 RepliesI'm trying to public a VB program and I want to install the program from the same directory I am publishing it to which is a file path of the form P:DirDir. This doesn't seem to be working... In the publishing folder text box I have a file path but it won't allow me to put that same file path in the installation folder text box... and it has brackets (if different than above) over the installation folder text box so that should mean it is not a required text box.. but when I go to publish now it asks for me to put a path in there.
View 6 Replieswhat Files do I need to include for the installation of my program-do I need to include all the files in the debug folder? or do i only need the EXE?
View 5 RepliesI have VB6 and i want to install VB.NET 2008 without uninstall VB6. Is possilbe? Can i works correctly both?
View 1 RepliesI currently have VS2008 with SQL Analysis Services, SQL Integration Services, and SQL Reporting Services.Now I need VB.Net 2008 to write and compile a utility app incorporating a 3rd party API library, but I don't know which product to download.
My IT department sent me an MSDN Subscription Benefit Access Number in my name, and there are many products under the VS2008 header.
I'm guessing I need, "Visual Studio 2008 Standard Edition (x86) - DVD (English)". Is this correct?I don't anticipate needing any other tools (outside of VB.Net, and the SQL products)Will installing this break my other three products, or leave them intact?
Basically I want my program to do the following, it's all theory atm but i'll put it down psuedo style..
WHEN formloads CHECK
does userdetailsexist
IF userdetailsexist THEN
loginform.show
[code].....
Get it? First time the program is opened, the user creates an account with it and a file is created stating that an account has already been made, and then the user logs in.Second time its loaded, if that file exists, don't show the NEW USER page, and allow the user to log in, checking their details against the local file.Now whats best, a txt file? A db?Whatever method as I need all the settings chosen in the program to be there every time it loads up...Also, Is it best to make this program have to be installed so it has access to all the resources on the computer?