Hi 2 all,

            Is there any condition for CA, which prevents to run CA when
uninstall. These CA are not set in UI. See below the code.

Sure there is condition NOT Installed, but I want to run CA when
reinstall too, so it fails. 

Sure there is condition WixUI_InstallMode = "Remove", but I am not sure
it will work in all ways, e.g. when someone runs installation without
UI, than it has to fail I guess.

So, is there any constants for CA to know that the uninstall is run?

 

Bye bye X.

 

P.S> is someone there who solved the initialization of eventlog for
webservice? I use EnterpriseLibrary and for first run it needs to set
admin right to run eventlog for first round. After initialization is ok
to remove the admin rights.

 

    <CustomAction Directory="idFrVersion20Dir"
ExeCommand="[idFrVersion20Dir]aspnet_regiis.exe  -pe
&quot;connectionStrings&quot; -app &quot;/WS/CedrInfoPublic_v102&quot;"
Id="idLaunchEncryptCfgDoCrypting" Return="check" />

    <CustomAction Id="idCAJoinConnString" Property="CONNECTIONSTRING"
Value="Database=[SQLDB];Password=[SQLUSERPASSWORD];User
ID=[SQLUSERNAME];Persist Security Info=false;Connect
Timeout=300;Server=[SQLSERVER];" />

    <InstallExecuteSequence>

      <Custom Action="idLaunchEncryptCfgDoCrypting"
After="idCAJoinConnString">????????????</Custom>

      <Custom Action="idCAJoinConnString"
After="InstallFinalize">??????????????</Custom>

    </InstallExecuteSequence>

-------------------------------------------------------------------------
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