after new version i got another error:
before the update each package.psd1 was saved in it’s own working directory, so I could edit it and add my own vars in it - like icon, Modules i didn’t want to export, run as admin, Console (yes/no) and so on.
right now it saves the package in c:\temp directory for all my scripts.
*when trying to delete elements from the form i get an error:
what ever you insert after this element will bring an error while trying to delete it.
but, if you move the line:
$ToolStripMenuItem1 = (New-Object -TypeName System.Windows.Forms.ToolStripMenuItem)
to the end of the function (Just before the $Form1) deleting elements is working.