Yes, it is possible.  The main thing you'll run into is that the interface to 
WIS is through an ActiveX control.

I did:

1) created a COM+ wrapper for the ActiveX control;
2) used reflection to access the ActiveX control in custom actions;

WIS is a pain.  Even when you use the API to remove a catalog, you can still 
end up with a zombie catalog that will require manual clean-up.  Also, WIS is 
mutually exclusive with Search Service (can't have both installed).

Alternatively, you can run vbs or PowerShell scripts, but there are still 
significant 32-/64-bit hurdles.  I recommend reflection.  It's very hard to get 
script custom actions reliable.
--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.(r)
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com 



-----Original Message-----
From: Brett Dudo [mailto:brett.d...@gmail.com] 
Sent: Tuesday, March 20, 2012 3:19 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] creating a windows indexing service catalog / directory

I'm trying to find a way to create a directory and catalog within the windows 
indexing service, then restart the service to have it active through .msi.

I currently can do this from WISE on x86 machines, but not on x64.  Is this at 
all possible with msi and wix?

*~BCD*
*Alphabetic Design*
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to