Start, click Run, type msiexec/unregister, and click OK ". At this time, the system may not respond, even if your operation is completely correct.
3. Click Start, click Run, type msiexec/regserver, and click OK ". At this time, the system may not respond (even if your operation is correct), an hourglass may appear temporarily. After running this command, the operation is completed.
4. Try to install the
Program Based on Windows installer
1. If the MSI file cannot be installed, the message "Windows Installer cannot be started" is displayed"
1. Start-run (WIN + r) open it and enter msiexec/unreg and press Enter.2. Then start-run and enter "msiexec/regserver" in "open" and press Enter.
Ii. Solution to failure to install the EXE fileOpen "my computer" and choose "Tools"> "Folder Options"> "file type". The file type with the extension EXE cannot be found in the existing file type.1. Clic
(including local or cross-host processes ). In 64-bit windows, a 32-bit external process COM server can communicate with a 64-bit client, and a 64-bit external process COM server can also communicate with a 32-bit client. Therefore, if you have a 32-bit com-unrecognized DLL, You can encapsulate it into a non-process COM server and use com configuration to call the DLL in a 64-bit process. (I cannot quite understand the last sentence !! Hahaha)
Verification:Workflow:1. Create an external COM se
This error is fixed when sharpoint is installed. Check by msdn and no problem is found. When you reinstall sql2005, you will find that it was an SQL problem. You need to fix WMI and the SQL installation self-check fails. Use the script to fix the issue.
@ Echo onCD/d c: \ TempIf not exist % WINDIR % \ system32 \ WBEM goto tryinstallCD/d % WINDIR % \ system32 \ WBEMNet stop WinmgmtWinmgmt/killIf exist rep_bak RD rep_bak/S/QRename repository rep_bakFor % I in (*. dll) Do regsvr32-S % IFor % I i
mode, you can also enter any MATLAB command.
In fact, a conversation established through an engine starts Matlab as an ActiveX control. When Matlab is first installed, it is automatically executed once:
MATLAB/regserver
Register yourself in the control library of the system. If you cannot open the Matlab Engine for special reasons, you can run the preceding command at the doscommand prompt and re-register it.
2. Configure the Compiler
To successful
is very troublesome to add a method each time. I need to modify the method separately in "getidsofnames" and "INVOKE", with too much labor duplication,So I want to add an IDL and then use the Wizard to add the method, so cool :)
Unfortunately, things are not as simple as I thought.
1. The _ modele generated by the wtl wizard is a cappmodule, which is different from the catlexemodule generated by the ATL Project.Since the source code can be seen in both classes, everything is clear:1-1.cappmodul
on the Internet are Excel files. paste them:
Registration Method executionStart ---- run ---- enter the installation path of excel2003, for example, "C: \ Program Files \ Microsoft Office \ office11 \ excel.exe"/regserverNote/there is a space before the symbol. "C: \ Program Files \ Microsoft Office \ office11 \ excel.exe" is the path of the installation program of excel2003. The regserver parameter indicates registration!After running, the installat
Fancycache failed to get state is WMI error, to reinstall. The article said if the command: Winmgmt/verifyrepository report inconsistency to reload WMI, my execution result is consistency, still cannot install SP1, error code is 80041010. Follow the steps in the article, typing the following command at the command line with Administrator privileges:
net stop WinMgmt
ren%windir%system32wbemrepository repository_backup
net start WinMgmt
Winmgmt/salvagerepository
CD/D%windir%system32wbem
For/
Originally installed on the computer is matlab2012b, but it seems like 2012b only 64-bit, so reinstall MATLAB7, installed after registration, CMD CD to matlab7 directory Bin folder, registered Matlab/regserver, You can call MATLAB, first test the first method, call the engine, Engopen, engsetvisible, Engclose
Engevalstring (m_pengine, "x1 = 0.01:0.01:10 * pi");
Engevalstring (m_pengine, "x2 = -10 * pi:0.01: -0.01");
Engevalstring (m_pengine, "y
working at all.
My 2k3 is SP1 build 1447, and this error still occurs.
Luckily, I finally found a script to fix WMI, and after that it was done:
Fixwmi. Cmd
------------------------
@echo on
CD/D C:\Temp
If not exist%windir%\System32\Wbem goto Tryinstall
CD/D%windir%\System32\Wbem
net stop WinMgmt
Winmgmt/kill
If exist Rep_bak Rd REP_BAK/S/q
Rename Repository Rep_bak
For%%i in (*.dll) do regsvr32-s%%i
For%%i in (*.exe) do call:fixsrv%%i
For%%i in (*.MOF,*.MFL) do mofcomp%%i
net start WinMgmt
G
F8 on the keyboard. On a computer that has a multiple operating system startup configured, press F8 when you see the Start menu.
C. Use the arrow keys to select Safe Mode, and then press Enter.
D. When the Start menu appears again and the blue text "Safe Mode" appears at the bottom of the screen, select the installation you want to start, and then press Enter.
E. Log on to the computer.
F. Click Start, click Run, type Msiexec/regserver in
,00,65,00,78,00,65,00,20,00,2f,00,
56,00,00,00
Then save the file as a ". Reg" format and double-click the file to import the contents of the file into the registry.
Start-run input msiexec/unreg OK.
Then start-run the input msiexec/regserver OK.
Then go to the Windows Installer service, success! To install Adobe Air Service is also successful!
Another: If the above steps can not solve the problem, the specific reason is that a certain installat
Because of the advantages of different versions of Excel, many users will install multiple versions of the Excel program on the computer, so that when there is an unexpected situation, choose to use the most frequently used version of the set priority to open, the main methods are the following two kinds:
Method One, on the desktop select the "Start → run" command, open the Run dialog box, as shown in the figure:
In the Open text box in which to enter the preferred version of the i
discovery is not working at all.
My 2k3 is SP1 build 1447, and this error still occurs.
Luckily, I finally found a script to fix WMI, and after that it was done:
Fixwmi. Cmd------------------------@echo onCD/D C:\TempIf not exist%windir%\System32\Wbem goto TryinstallCD/D%windir%\System32\Wbemnet stop WinMgmtWinmgmt/killIf exist Rep_bak Rd REP_BAK/S/qRename Repository Rep_bakFor%%i in (*.dll) do regsvr32-s%%iFor%%i in (*.exe) do call:fixsrv%%iFor%%i in (*.MOF,*.MFL) do mofcomp%%inet start WinMgm
cannot run or loss of virus similarity: ★★★★★
A function of Windows suddenly unusable or lost, scratching the scalp can only come up with a reasonable explanation of the virus. Not really, for example, the loss of the search panel, the Quick Launch bar does not start, there is no "run" in the Start menu, there is no pallet in the taskbar, and so on, there are usually 3 reasons why a component cannot be run or lost: The ① component is not installed; ② system service is not started;
Example of
#define out (s) outputdebugstring (s);
#define OUT_LN (s) outputdebugstring (s);
#endif class Cservicesmodule:public atl::catlservicemodulet
The _DEBUG macro is used to differentiate whether the compiler is compiled into a console program.
When you specify that the debug version is compiled, you can compile the program into a console program, register the service through RegServer, and then run the service EXE directly, so that the information
Create a project for a Windows service
New Project->c++ Language->atl->atl Project-> Service (EXE)
This creates a Windows Service project.
The resulting solution contains two projects: Services, Servicesps. In fact, the main use of services,vs2012 is not clear why two projects were generated.
Registering Windows Services
When the Windows service is first started, it needs to be registered and registered in a way that can be done by command line or batch processing.
Services.exe-
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.