Hello,
I'm trying to modify the contents of an MSI file using Powershell. To do so I create an instance of a WindowsInstaller.Installer then use $installer.OpenDatabase and $database.OpenView. Similar functionality works in VBScript and I've seen samples on-line that appear to work.
$installer = new-object -comobject "WindowsInstalle...
I wrote an application that loops through a set of records and prints two things.
One is a report from SSRS wich works correctly.
The other is a drawing that uses a COM object to print. The COM object randomly fails and causes the program to quit.
Is there a way to stop it from killing the entire program when the COM Object fails? ...
I'm trying to get some information from an msi file
I used:
Type installerType = Type.GetTypeFromProgID("WindowsInstaller.Installer");
object installerInstance = installerType.CreateInstance(installerType);
i'm well aware of the option to add reference to the file C:\windows\system32\msi.dll, and cast installerInstance to WindowsInst...
I am currently have a WCF service that uses a COM DLL for its service. The COM object is only loaded once and saved via a singleton. The problem is the first run takes about 1 minute to load the COM Object. The WCF service is hosted via a Windows Service. I am wondering how can I load the COM Object singleton via the startup of the Windo...
We are working on a C# DLL that stores the values of a Classic ASP Session.
Everything is okay but some QueryStrings being stored in Session. Problem is: we are able to read the QueryString from the DLL using IRequestDictionary and IStringList, but we can't find a way to recreate them the next time a page ask for them.
We have stored a...
I have a Com Object, setup/create/working from a DataModule.
creating/running/freeing the Datamodule from an Application works with out an issue.
but putting the datamodule into a DLL works fine the first time, runing the com object etc.. but after a few calls with out restarting the application, this error appears.
There is a fare ...
I want to open the Internet Explorer as a new Com Object with no Add-ons.
$ie=New-Object -comobject InternetExplorer.Application
How could I start the Internet Explorer without Add-ons?
...
Hello all,
I have created a virtual machine. Now I am trying to launch it using Powershell. I have searched all over the internet for any details on how to do that. This is the only code i found...
----------------------
$vBox = New-Object -ComObject VirtualBox.VirtualBox
$vBox | Get-Member *
$vBox.Machines
$vBox.CreateMachine()
--...
Hi I would like to start the Internet Explorer without extensions and control it. (Navigate to other pages, click buttons etc.)
When I use the command: "Start iexplore.exe -ArgumentList -extoff" I have the IExplore without extensions, but no object. I need the object to navigate to different pages and click buttons.
"$ie = Start iexplor...