PSAppDeployToolkit icon indicating copy to clipboard operation
PSAppDeployToolkit copied to clipboard

I'm hoping to add one feature: a program packager

Open iamtornado opened this issue 2 years ago • 6 comments

PSAppDeployToolkit is a great tool, and I'm hoping to add one feature: a program packager. Because I want to package the folder as a self-extracting exe file, the user can directly double-click this file to start the installation

iamtornado avatar Feb 23 '23 00:02 iamtornado

great idea!

endoleg avatar Feb 23 '23 03:02 endoleg

You can do it with WinRar. You can create an self extracting exe and execute one after

https://www.youtube.com/watch?v=6BGZYIEqx7s

I've automated it with a winrar profile an ps script

cyborgrd avatar Feb 23 '23 07:02 cyborgrd

Yes, thanks! I also found that the same functionality can be implemented with 7zip。

iamtornado avatar Feb 23 '23 12:02 iamtornado

It would be better if PSAppDeployToolkit integrated this packaging feature

iamtornado avatar Feb 23 '23 12:02 iamtornado

Yes,I will try 7zip

iamtornado avatar Mar 03 '23 01:03 iamtornado

Just Now ,I used PSAppDeployToolkit to create a script to uninstall mcafee, then I used 7zip to create a self-extracting exe file, found a problem, I found that Show-InstallationRestartPrompt did not work, after the program was executed normally, I did not see the restart prompt box, Show-BalloonTip worked fine. I think this should have something to do with 7zip creating self-extracting exe files, possibly the exe process closing the powershell process created by Show-InstallationRestartPromp. Is there a good way to solve this problem? I wish a restart prompt box would pop up. No anomalies were found in the log file.

iamtornado avatar Mar 17 '23 09:03 iamtornado