![]() ![]() Shortcut Location – This is the location where the shortcut will be created.Arguments – This both the parameters and its values for the executable.Target Path – This is the location of the executable.The following sample script show how to create the shortcut file for the “ Get-SystemInfo.exe” script executable during installation process.įor the shortcut, we need to provide the following values: Lets take look at the sample code prior building the MSI instaler. ![]() This way giving the MSI installer the ability to create and remove the shortcut file. We are going to reuse the “ Get-SystemInfo.ps1” script sample and modify the code so it can be run from shortcut link off the user desktop.Īlso, we need to create two additonal script: one to create the shortcut during installation and another to remove the shortcut when uninstalling the application. Next step is to create the application installer so we can deploy the packaged solution. 32-bit and 64-bit PowerShell integration.In a previous blog post we covered some of the SAPIEN Packager script engines to create an executable. ![]() Script with cmdlets from a remote machine. Create advanced functions using the Function Builder. Create modules from your existing functions or help files. Convert scripts into executable (.exe) files. Fully-featured Windows PowerShell editor. The premier editor and tool-making environment for Windows PowerShell. ![]() We offer best-of-class script editors, authoritative PowerShell books, training videos, supportive communities, and real-world training. SAPIEN is out to make Windows administrative tasks simpler. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |