installer

Running copied files in wix using custom action

Hello, I'm creating an MSI installer using WiX and I have, say, a *.bat file that I'm copying to SomeFolder2 under %temp% (something like the code snippet below...) ... <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='MyDir' Name='SomeFolder'> ...

Programmatically detect if Windows Media Player is installed

Anybody have any advice on how to programmatically detect if Windows Media Player is installed? I know about the registry setting look up, but don't trust it since it's more than a little misleading (uninstalled may not remove it). And I've considered just launching a video, but an error could be caused by something other than Media Pl...

Why is the packagemaker command chown'ing all my installed files to root?

For some reason, when I run the my installer it sets each file's owner to root group to wheel, and permissions mask to 700. I have checked that the permissions and owner of the files in files (which I build the installer from via the --root parameter) are set to the current user and 755. I also tried adding the --no-recommend flag, but ...

How to run a CA as another user?

My installation is always executed in a Computer where I know the user/password of a user with administrator privileges. The installation needs Administrative privileges to execute so I created an EXE that executes the installation using this known user. My problem know is that the installation launches an EXE from a Custom Action once...

VS created MSI installer uninstall issue

I created my msi installer by using VS2008. I have some temp files need to be deleted and want to avoid the auto-repair nightmare. I got two options from experts here and other forum. One of them is set the temp file's ComponentId to null (No other changes). It works but causes another issue. The issue is the uninstall process will not d...

Why is my Uninstall method not being called?

My VS 2008 created installer doesn't call the override Uninstall method in my installer class. why? The Install method was called. My installer class looks like this: [RunInstaller(true)] public partial class InstallerClass : Installer { public InstallerClass() { InitializeComponent(); } ...

Mac OSX PackageMaker: how to install multiple packages and post-processing

I find myself in a unique scenario -- it has to be, because no searching I do seems to turn up any answers. But maybe there's a MacOS X guru out there that can answer this for me? I'm using PackageMaker to create an install process for my company's application. It's a cross-platform app and my home base is Linux and Windows, so please...

How do I make one nsi section depend on another?

In NSI, how can I make one section depend on another? Our installer has four visible sections (components): * Client * Database * Server * Interface All components depend on Client, so it is mandatory. In addition, Server depends on Database and will fail to install if Database is not present. ...

Is there a way to invoke a .NET Framework offline installation?

I'm making a test application for learning purposes. It's targetted for the .NET Framework 4 Client Profile. I created a new Windows XP virtual machine that doesn't have a .NET Framework installed. Ideally I'd like to create a setup project for my little application and bundle that with the .NET Framework 4 Client Profile. I do not want...