→ Having trouble accessing our new support portal or creating a ticket? Please notify our team here

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
d_cordani
Engaged Sweeper
Hi guys, hello to everyone,

I'm involved in a package creation and I get an issues.
During the package's deployment it got stuck in a condition step.

The condition should check if a folder exist under C:\. (e.g C:\Temp)

Since it is not possible leave the condition field "File name" blank then I put a "." (without the quotes)

Is this the right way?

Thanks a lot,
Davide
4 REPLIES 4
d_cordani
Engaged Sweeper
thanks for the suggestion, It has worked.

thanks a lot
CyberCitizen
Honored Sweeper
Capture the code it has when it fails and out that in as a success code.
d_cordani
Engaged Sweeper
Ok but I have tested if C:\temp is already present it are going to get fail.
CyberCitizen
Honored Sweeper
That is a file condition check only, can't be used to check if the folder exists.

Why not just have a step in your deployment package to create the folder if it doesn't exist?

md "C:\Temp"