I suppose you could, but I it's the wrong tool for the job. I think just about everyone here would advise against using a MSI to push another MSI onto a remote system.
You can get what you want with a batch file, scripting against WMI, and there's probably something in powershell too. Can you tell us more about why you need to do this? We may be able to offer alternatives. -----Original Message----- From: Ravi Raj [mailto:raviraj.callin...@gmail.com] Sent: Wednesday, September 12, 2012 4:38 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Installer which installs another exe on Remote Machine But I am seeing this VBScript for doing the same, can't I execute this script in Custom Action to do the same? On Sat, Sep 8, 2012 at 10:56 PM, Philip Sayers <p...@cds-am.net> wrote: > I'm pretty sure you can't do this from inside a MSI. > > Wix is about creating the MSI, you're asking about how to apply that > MSI to a remote machine. > > This should point you in the right direction. > > http://technet.microsoft.com/en-us/library/ee156549.aspx > > > -----Original Message----- > From: Ravi Raj [mailto:raviraj.callin...@gmail.com] > Sent: Saturday, September 08, 2012 5:33 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Installer which installs another exe on Remote > Machine > > Hi All, > I wanted some suggestion. > > I wanted to create an installer which takes some user parameter (like > domain name, user name, machine name, password) of remote machine, and > then I want to install an exe (which I guess will be embedded into > this current > installer) to a remote machine (using above credentials). > > The installer should copy the file to remote, install the file then > delete the original file. Will the second installer made specially > (does it should support silent install?) > > How can I implement this? I have build a installer using WiX many > times before but the remote installation part is new to me. I wanted > to know what custom actions should I use (C# more preferably)? > -- > Thanks and Regards, > Ravi Raj > > ---------------------------------------------------------------------- > ------ > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > -------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Thanks and Regards, Ravi Raj ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users