Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to fix Error-1722 in Custom actions


1 reply to this topic

sannareddy

sannareddy
  • Full Members
  • 4 posts

Posted 22 May 2012 - 14:21

Hi

I am using Install shield 2011.

I am giving folder permissions through Batch file :

WorkingDirectory:-SystemFolder
Filename&Commandline:-cmd.exe /c net share iLMSData="[INSTALLDIR]iLMSData" /GRANT:[WIN_USER],FULL

Return processing:-Synchronous(Check exit code)
In-Script Execution:-Deffered
Install Exec Sequence :-After InstallFiles
Install Exec Condition:-Not Installed

When i run this custom action it will thrown an Error.
The ERROR-1722

That Error is in below attachment.

Please reply me any Idea ,its urgent .

Regards
S.N.R

Attached Files


Edited by sannareddy, 22 May 2012 - 14:25.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 May 2012 - 17:20

You should ignore exit code, as the exit code from cmd.exe likely doen't match what Windows Installer expects. Note that now you on't notice if the custom action fails.

You should set the In-Script Execution to "Deferred in system context" as it will require admin privileges.