Hi all,

I´m trying to make a CustomAction that calls an executable existent in 
end-user´s computers, that uses as parameter, a file in the wix package.
I´m running through two problems.

1-      I´m get warning ICE03 - string overflow. I did a quick research and 
found out that a workaround would be to use CDATA. But I´m not sure on how that 
goes.

2-      I need to use as parameter in the executable that is being running, a 
zip package that I will include in the package. However, I´m not sure how that 
works exactly.

Here´s what I assumed it is.

CustomAction Id="DeployPortal_Cmd" Impersonate="no" Execute="deferred" 
Directory="PORTALDIR"
      ExeCommand=""[ProgramFilesFolder]IIS\Microsoft Web 
Deploy\msdeploy.exe" -verb:sync 
-source:package=$(var.SolutionDir)files\MyFile.zip
      -dest:auto -setParam:name="IIS Web Application 
Name",value="Web Site/Application"
      -setParam:name="ngsql-Web.config Connection 
String",value=""Data Source=SERVIDORBD;Initial 
Catalog=NOMEBD;User Id=USERBD;Password=USERPW;""" />

To have the MyFile.zip included in the package, I´ve created a component for it 
in one of my directories.

Am I in the right path? Or there´s another way to accomplished this?

Best regards,
Caio


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to