So, I'm trying to, after an application finishes installing (though in truth, it really doesn't matter when the secondary application is run, since it doesn't interact with the installed files during installation), run another program which is bundled with the application. Pertinent code (with various stuff replaced with "...":
<direct...
I have a CustomAction as part of an MSI.
It MUST run as a domain account that is also a member of the local Administrators account.
It can't use the NoImpersonate flag to run the custom action as NT Authority\System as it will not then get access to network resources.
On Vista/2008 with UAC enabled if NoImpersonate is off then it will...
i'm using vs installer to build a setup package for my vb6 app.
and the problem is i can see that under the project explorer there's a list of dependencies attached to my exe file.
and under the file system on target machine treeview, i can actually store the dll/ocx on a folder or in the windows system folder itself[the left window]....
I've seen a confusing behavior regarding the MSI files generated by a VDPROJ file. If I build my MSI in Visual Studio and then right-click and pick "Install" from within Visual Studio, it will automagically uninstall any version that is already installed and then install the new MSI.
However, if take the generated MSI and run it direct...
I've given up trying to apply lipstick to the pigs of installers that come out of VS and have decided to look at WiX.
What resources would you recommend to learn and reference?
(Note - this is not a which installer tech do you use question - its specific to WiX)
...
Anyone have a script (JScript, VBScript or similar) in the spirit of this handy script but adding the MSIUSEREALADMINDETECTION property
I know I could use Orca manually or with its transform feature, but would rather not go there.
...
Does anyone have an example AUTORUN.INF which can launch an MSI installer automatically when the user inserts the CD.
I'm sure this can be done but I've been Googling around for ages and have not found any working solution.
UPDATE: I have an AUTORUN.INF similar to this but it won't launch the installer:
[autorun]
open=MyInstaller-1.0....
Many of our customers have access to InstallShield, WISE or AdminStudio. These aren't a problem. I'm hoping there is some way I can provide our smaller customers without access to commercial repackaging tools a freely available set of tools and steps to do the file replacement themselves.
Only need to replace a single configuration file...
Hello,
I would like to modify an MSI installer (created through WIX) to delete an entire directory on uninstall.
I understand the there RemoveFile and RemoveFolder options in WIX, but these are not robust enough to recursively delete an entire folder that has content created after the installation.
I noticed the similar entry here (h...
I need to achieve the following:
The uninstallation of an MSI should present a user dialog based on which Windows Installer knows how exactly to remove the software (in this case: The user must choose whether or not to remove databases as well).
While running, the uninstall process will also trigger custom actions. All of these actions ...
The following code produces an error hr=0x80020005 (wrong type).
#import <msi.dll>
using namespace WindowsInstaller;
main()
{
::CoInitialize(NULL);
InstallerPtr pInstaller("WindowsInstaller.Installer");
DatabasePtr pDB = pInstaller->OpenDatabase(
"c:\\foo\\bar.msi",
msiOpenDatabaseModeTransact);
}
I think...
Currently I have to uninstall the old version of my service before I install the new version. I am pretty sure this has something to do with it not being smart enough to update or remove the old service entries before adding the new ones.
Is there a way to have the installer skip registering the service if it already exists? (I can assu...
I created a vbscript custom action which checks for some registry keys and alters them if neccessary. In case a key could not be written or something like that, the setup should be aborted.
In order to achieve this, I set a property which I tried to use as a condition for the next step within the execute sequence but this does not work....
I often get a problem with Windows Installer trying to uninstall a package, but it complains that
The feature you are trying to use is on a network resource that is unavailable.
Is there a known means of uninstalling such packages when the original MSI is simply not available?
...
Some time ago I got this error when building ANY Visual Studio Deployment project.
"Unrecoverable build error"
I thought my VS installation was corrupted or I deleted some important files, but ...
...
How can I add the reboot action to a vdproj?
I need an MSI which restart the pc at the end of the installation.
Thank you.
...
I have some library code which is used from my application and is also used by a .NET custom action in a Visual Studio installer project. The library code in turn uses the Enterprise Library logging block to do its logging. How can I get configuration information to the Enterprise Library in the context of my custom action running insi...
VS2008 setup projects provide the option to halt installation if a newer version is detected by setting "DetectNewerInstalledVersion". Is there a way to remove a newer version if it exists ie similar to "RemovePreviousVersions" options?
...
Is there anyway to disable the repair option so that if a user runs the msi again it automatically uninstalls without prompting for Repair/Remove options?
Edit: This is for a controlled corporate environment and has been passed down as a requirement.
...
Hi,
I have 3 projects in my VS solution. 1 is a web app, the other is a windows service and the last one a setup project for my web app.
What i want is by the end of the installation of the web app in my setup project, within my custom action to try and install my windows service given that i have the location of the assembly by then....