How to run msi with ‘Run as administrator”

Problem:
How to run msi with ‘Run as administrator”
Help needed in running a windows application on Vista/Win7 machine.

Issue1: I have created an MSI for the windows application which will create few registry values depending on the selections done by the user while installing the application.

Advertisement

The Issue is; when I run the MSI in Server2003/XP machines it is creating the registries perfectly but when the same MSI was ran in Vista/Win7 machine it is not creating the registries.

Hope this is an issue with the security in Vista machines. Please kindly suggest me what can be done.

Issue2: The windows application will create a log file into the location where the application has been installed (by default application gets installed in the “C:program files” folder).

The Issue is; when the application is run in Server2003/XP machines the log file is getting created, but when the same was ran under the Vista machine then it is throwing an exception that access to the path c:Program Files..command.log file is denied.

I also tried
I am member of Admin gruop and I ran the command prompt with “Run as administrator” and then from there I have pointed to the MSI and ran it, but still it is not creating the values in the registries.

Please suggest me some work around for the above issue

Solution:
This might help?

MsiRunAsAdmin
MSI “Run as administrator” Context Menu for Vista
http://www.symantec.com/connect/downloads/msi-run-administrator-context-menu-vista

Can you change .msi to .zip, and via WinZip etc. extract the files and find a Setup.exe to right-click on?

Something like this might work?
Run the CMD prompt as Admin, then the following:

msiexec /a your.msi

HOW TO: Take Ownership of a File or Folder in Windows XP (or Vista)
http://support.microsoft.com/kb/308421/en-us

Error Message: “Access Is Denied” When You Try to Open NTFS File System Folders
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q823306#appliesto

“Enable Microsoft Installer logging and Windows Update verbose logging –
For computers that are running Windows Vista and Windows Server 2008”

You receive error code 0x80070643 or error code 0x643 when you use the Windows Update or Microsoft Update Web sites to install updates
http://support.microsoft.com/kb/958052#appliesto

This might help?

MsiRunAsAdmin
MSI “Run as administrator” Context Menu for Vista
http://www.symantec.com/connect/downloads/msi-run-administrator-context-menu-vista

Can you change .msi to .zip, and via WinZip etc. extract the files and find a Setup.exe to right-click on?

Something like this might work?
Run the CMD prompt as Admin, then the following:

msiexec /a your.msi

HOW TO: Take Ownership of a File or Folder in Windows XP (or Vista)
http://support.microsoft.com/kb/308421/en-us

Error Message: “Access Is Denied” When You Try to Open NTFS File System Folders
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q823306#appliesto

“Enable Microsoft Installer logging and Windows Update verbose logging –
For computers that are running Windows Vista and Windows Server 2008”

You receive error code 0x80070643 or error code 0x643 when you use the Windows Update or Microsoft Update Web sites to install updates
http://support.microsoft.com/kb/958052#appliesto

See Also: I have my product key but not the windows cd!



Are you intrigued in getting into laptop or computer security careers? If that is so then listed here you may discover every little thing you have to know about the job description and what you may find yourself undertaking too as the qualifications wanted. What does Laptop Safety Include?

Personal computer security is often a branch of knowledge technological know-how that relates exclusively to actions taken to shield the data on computers from being corrupted or misused. Computer protection arrives in a very myriad of various varieties depending on what stage of protection is necessary.

It is actually particularly critical for folks working with computers to safeguard their computer system from info decline, misuse, and abuse. Such as, it's critical for corporations to maintain details they've secure so that hackers can't obtain the information. Residence customers also require to just take implies to ensure that their bank card quantities are protected when they're taking part in on-line transactions. Examine the threats and the way to avoid them below.

Phyllis Buckles
I'm an Information Security Engineers, also called Information Security Analysts, help to safeguard organization's computer networks and systems. Planning and carrying out security measures to monitor and protect sensitive data and systems from infiltration and cyber-attacks.