I have windows 10 and I need to run the odbcad32.exe in order to create a 32-bit driver but the c:/windows/SYSWOW64 does not exist..Can I find it somewhere or is there an alternative?
Thanks in advance
Are you sure your Windows 10 is 64-bit? Is there a C:\Program Files (x86)\?
If not, you're probably running 32-bit Windows 10, and C:\Windows\System32\odbcad32.exe is what you need to use.
If so, there's probably something very wrong with your Windows environment and/or installation.
Related
In Advanced Installer, how can I know if a 32bit process is running within a 64bit machine? I need to know this in order to prevent final users to install our application in given scenarios. Our approach is to use custom actions to detect if a given process is running, but it seems that Advanced installer isn't able to recognizes the ".exe *32" in the string end. Does someone know how to proceed in this situation?
This is not the correct approach. To stop users from installing the application on 64 bit machines you need to go to Launch Conditions page and uncheck all the 64-bit OS-es from the list. This will make your package to stop from installing on 64-bit machines.
Of course, for clients running a 64-bit OS you need to create a new setup package, that contains the 64-bit version of your application. For this package set the package type 64-bit AMD from Install Parameters page. Also, in Launch Conditions page make sure you uncheck all the 32-bit OS-es.
If you're really using a custom action to detect a particular 32-bit process, it's nothing to do with Advanced Installer. Your code enumerates the processes to find the one you want, does an OpenProcess() to get a handle and then calls IsWoW64Process, and closes the handle. If you have an x64 MSI file it won't install on a 32-bit system anyway, so I'm assuming that you are trying to prevent your x64 MSI file from installing on a 64-bit system if a certain 32-bit process is running.
if i try to run my qt application on windows 7, the console print:
QPSQL driver not loaded ... available driver:...QPSQL...
After that, i've tried to include the following paths to the windows path variable
C:\psql32\bin;C:\psql32\include;C:\psql32\lib;
The application can connect to the psql db and all works fine. How can i fix this problem, without to install the psql software on all pc's. ?
Best regards, chris.
Usually you don't need to use the drivers from Postgres. At least in the version I use (commercial, 4.8.4, Win)
Qt provides the drivers in the directory <QTDIR>\plugins\sqldrivers.
When the application runs on the computer, where Qt is installed, nothing should be done explicitly - Qt should find the drivers.
When the application is deployed on a computer without Qt-installation, I copy release versions of the files found in <QTDIR>\plugins to <MyAppExeDir>\plugins.
Besides Sql drivers, same problem could apply also to jpeg an other pluggable components.
P.S.:
Make sure, not to mix Qt-dlls from one computer with Qt-plugins from other computer, even if the versions are the same.
What is the fastest and safest way to download a tool and see the difference between the 2 web.config files? Does windows xp has a built in tool to do a visual Diff on 2 files?
I am running Windows XP professional SP3 on my computer.
Would downloading Windows XP Service Pack 2 Support Tools cause an issue?
thanks
WinMerge. However unless this is some simple throwaway code, or web.config from two different projects, you should have this all in a version control system. It could be SVN like Aliostad mentioned. In that case you can see the history of changes and compare them.
Try WinDiff, it should come with XP.
try windiff which comes with Windows SDK.
You can also install SVN tortoise and create a dummy repository and add web.config to see the difference. Diff viewer on tortoise is excellent.
Nothing built in, but there are plenty of free diff tools around.
If you want something from Microsoft, you could try windiff, which is included in the Windows XP Service Pack 2 Support Tools
TotalCommander
is it possible to switch to english in IIS 7 when working in a foreign country ?
No. It depends on the language of current operating system. But you can try to uninstall IIS and reinstall using with English version of current operating system cd or dvd. Anyway i didn't try that but it might work.
I'd like to install several unix utilities (incl. xmlstarlet, wget) on a solaris 10 machine which I don't have root access to (obviously, I have a user account). I'm not that experienced with solaris and am wondering if I can simply get hold of an uber binary for each utility I need and just place this in my home directory? Is this feasible?
Many thanks
wget is installed by default on Solaris 10 in /usr/sfw/bin/wget.
xmlstarlet requires four libraries that aren't included in Solaris 10 so it's going to be trickier but of course, you can build them and then xmlstarlet from their respective source code.
Have a look there for information about what is needed: http://www.opencsw.org/packages/xmlstarlet
If you really don't want to compile the binaries, there is certainly a way to manually install the files stored on these Solaris packages elsewhere and patch/fix them to make the whole work. I did that already.
Finally, don't underestimate the willingness of the system administrator to help.
As long as the binary doesn't try to do something that requires superuser privileges and the binary is compiled for your platform, you should be ok.