Do you think the doubled directory separators could have any significance? The [ProgramFilesFolder] property includes a trailing directory separator, so you normally use it like
 
[ProgramFilesFolder][Manufacturer]\[ProductName]
 
to build a TARGETDIR.
 
--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Wang (MSN)
Sent: 20 September 2006 23:33
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] failure in custom action.

Hi,

 

I hope this is the right alias for my questions. If not, please kindly forward of you know any place proper.

 

After moving to wix2.0. some of the custom actions we used before began to fail. Manually running the action in command line works just fine, but the msi fails with error message :

 

 

Action start 13:51:30: RemoveDatabaseFixXML.

MSI (s) (8C:88) [13:51:31:171]: Note: 1: 1722 2: RemoveDatabaseFixXML 3: D:\Program Files\FinReporting\OLAPCubes\ 4: "D:\Program Files\\FinReporting\OLAPCubes\ChangeDSOXMLServer" "D:\Program Files\\FinReporting\OLAPCubes\Remove database.xml" "D:\Program Files\\FinReporting\OLAPCubes\Remove database.xml" "PREETITEST" "MSInsightOlap" "oldDatasourceName" "AggregateReports" "PREETITEST" true true true "PREETITESTDOM\FinRptWebUsers"

MSI (c) (B4:D4) [13:51:31:171]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

 

MSI (s) (8C:88) [13:51:47:671]: Product: OLAP Cubes -- Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  Action RemoveDatabaseFixXML, location: D:\Program Files\FinReporting\OLAPCubes\, command: "D:\Program Files\\FinReporting\OLAPCubes\ChangeDSOXMLServer" "D:\Program Files\\FinReporting\OLAPCubes\Remove database.xml" "D:\Program Files\\FinReporting\OLAPCubes\Remove database.xml" "PREETITEST" "MSInsightOlap" "oldDatasourceName" "AggregateReports" "PREETITEST" true true true "PREETITESTDOM\FinRptWebUsers"

 

Action ended 13:51:47: RemoveDatabaseFixXML. Return value 3.

 

( I’ve traced my application to the last line, where it write a line of trace and completes:

 

                Console.WriteLine("The file '" + args[Constants.destArgIndex] + "' was created successfully.");

                Tracer.Trace(   Constants.TracerTag, TraceLevel.Info,

                    "Operation completed successfully.");

                System.Environment.ExitCode = 0;

)

 

Is this something other people also see? How should I go with debugging such issue?

 

Thanks.

 

Sean

 

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to