
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2018 06:41 PM
I have PS script (that works locally) to change the registry key that enables/disables the windows firewall. I'm unable to get it to work via the installer and I'm not sure how to create custom actions yet (very new here).
Am I making this harder than it has to be?
Am I making this harder than it has to be?
Labels:
- Labels:
-
General Discussion
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2018 07:24 PM
Thanks! I did get a reg key change script with just a regular "Add Key" function to work (forcing overwrite.)
I was, in fact, making this particular task too difficult!
I was, in fact, making this particular task too difficult!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2018 09:17 AM
PS scripts can be a bit tricky in the deployment because you can't just run them as a script in a deployment package. It it better to run them as a command to make sure no execution policy is stopping the script.
Have a look here: https://www.lansweeper.com/forum/yaf_postst10730_PowerShell-from-Deployment-Package.aspx#post40186
Have a look here: https://www.lansweeper.com/forum/yaf_postst10730_PowerShell-from-Deployment-Package.aspx#post40186
