I use a Setup and Deploy project in Visual Studio 2008 to install my c# project.
I have a USB driver that i can manually install by right clicking the .inf file and choosing Install.
I think that if i had a .exe to install the driver, i could probably put it under Custom Actions. I'm not even sure where to start to make my own .exe, let alone if it would work.
I'm fairly new at this, having taught myself C# and learned how to make an installer through trial and error. I usually get by using trusty Google or this forum but i have trouble finding the information on my own this time.
Please help or point me in the right direction!
You can use run devcon.exe from a custom action to perform in the installation.
Here is some sample code from the Windows Device Driver Kit demonstrating devcon.exe's APIs... but it's probably easier to use the command-line functions.
I am working on exactly the same problem that you are working on. Please see my post:
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/89c996c4-881b-47f0-815d-cf14135daf88/
I will let you know as soon as mine working. Please let me know as soon as yours working.
Thanks,
Trammy
Related
Oracle form downloaded at:
http://www.oracle.com/technetwork/developer-tools/forms/downloads/index.html
When I ran the file setup_fmw_12.2.1.3.0_fr_win64.exe,
it gave me an error "Cannot launch the installer (555)".
fmw_12.2.1.3.0_fr_win64_Disk1_2of2 <-- Folder
setup_fmw_12.2.1.3.0_fr_win64-2.zip
fmw_12.2.1.3.0_fr_win64_Disk1_1of2 <-- Folder
setup_fmw_12.2.1.3.0_fr_win64.exe
Even though this relates to the installation of a developer tool, most would consider this particular type of question as generally off topic for stackoverflow. Your question also contains too little information to determine what the problem really is.
However, let's just mention some obvious things to see if it helps you solve your own problem:
Did you try the setup on another computer (or a virtual machine). This could be a good way to avoid the whole problem rather than spending a lot of time trying to fix it.
Did you locate any log files for the failed install?
A quick look seems to indicate that you can find log files at: %SystemDrive%\Program Files\Oracle\Inventory\logs (%SystemDrive% is normally C:\).
Or %SystemDrive%\Program Files (x86)\Oracle\Inventory\logs for 32bit installers on 64 bit systems).
Found in the troubleshoot section here - have a look yourself too - read from the top.
And the most obvious of all: did you contact Oracle support or search their user community or knowledge bases? Somebody will have seen this problem before. Looks like you need to register: https://support.oracle.com/
A quick search reveals that the Oracle Universal Installer is a Java based installer. Could Java be broken on the box you install on? (looks like the launcher should install the runtime automatically, but this could fail due to special conditions on the box. Try on a clean virtual machine). How to check whether java is installed on the computer.
Try disabling your anti-virus as well before running the setup on the problem box. Some setups even try to access the Internet during installation, and then your firewall could be a problem too. I would hate to turn that off though.
I don't know how I should ask this question. If I make any mistakes, I would appreciate it if someone could correct them.
I just start learning openscenegraph and try to install it in my Windows7. I open this website but puzzled with the files that which one should I download and run.
Can you please guide me step by step installation process?
Just open this link and install this file Win32 binaries installer .exe
Or you can also follow this video as well this one is the latest one
I got a weird problem with my VB app that has got me very confused. I am updating an existing program. I had to add some processing queue capabilities. On my system, unit testing worked great but when I compile it and run it on a different computer (a network server machine) it first tries to open an office install. If I cancel this, the program seems to run fine. The problem is that this program will be run in the background and I can't be hitting cancel each time it runs.
So my question is this: what is going on here? I'm usually a java developer we eclipse so I'm used to being able to include all the needed libs into the jar files automatically. It doesn't seem like the case with VB6. it seems like it expects all the same libs to be on all the systems. Is there any way to tell what might be triggering this?
The only thing I can think of that is causing it is that I'm using the "OpenProcess" function in the kernal32 lib. that the only major change I have made.
any help would be very appricated. thanks!
EDIT:
It seems that multiple versions of word were installed on the system and it was screwing things up somehow. We uninstalled one and it fixed it.
I ran into this a while ago and it was related to my installer for the VB6 app overwriting some system files for Office that it shouldn't have. Any time one of the System dlls was accessed Windows would determine that something was wrong and the Office installer would start up.
The short-term fix was to let the Office Installer repair the broken chain of dlls.
The long-term fix was to never overwrite built-in Windows System dlls.
You could also check out the Microsoft Fix it Center.
I have tried in vain to install JDK on a flash drive. I have seen many threads on how to do this, but, I do not see one which addresses my issue. I have JDK on my PC already. No matter if I Run from the website or save to the desktop or flash drive itself, when I double click the Java icon to install, I do not have an opportunity to select any installation preferences. It just runs the configuration then tells me the files already exist. Even when I save to the flash and click the icon within my flash folder, it still tries to install on the PC.
Any ideas?
Thanks.
There's a hacky way to do this that I don't recommend, but apart from copying the files directly to flash drive, this is the only solution I can think of. The Java installer is likely detecting your registry key for the one you already have installed. I don't recommend doing this unless you know what you're doing, but deleting the folders in:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit
May have it skip the check and just install it. I recommend you write down what you modified in the registry and make sure that you can re-create it before doing this. If this works as I think it will, the Java installer should not detect the other version of Java on your computer, and you should be able to proceed with installation. I still recommend just copying the appropriate directories to your flash drive instead though, Chris B has the right idea.
Note: This is my first answer. I hope I was able to help you! If not, let me know in the comments so I can do my best to get you to the optimal solution you are looking for! :)
I'd like to install Direct X with a web-installer (to make my setup smaller) on a users machine using Inno Setup during the setup of my windows application. If possible, I'd like to do that conditionally, if Direct X is not installed. If also possible, I'd like to do that silently.
I couldn't find out a working way to do this so far - Microsoft seems to make this a bit hard. Can anyone point me into the right direction or describe how this is possible?
EDIT: A semi-working solution can be found here: http://www.vincenzo.net/isxkb/index.php?title=DirectX_-_How_to_detect_DirectX_version
FYI: After all, I just used the directxwebsetup.exe with the silent flag ("/Q"). When DirectX is installed, just a small GUI flashup is seen, and otherwise a DirectX install GUI opens and installs DX.
There is a good sample for detecting the .NET version on the ISXKB wiki. This can be expanded to use Nick Sherlock's InnoTools downloader to download it and you can then run it with the appropriate command line options to do it silently.