Summary
This articles explains how to enable PowerShell support for AdminStudio, and how to use PowerShell to import MSI packages from a folder..Synopsis
This articles explains how to enable PowerShell support for AdminStudio, and how to use PowerShell to import MSI packages from a folder. This article includes a sample script to run, and it can be further modified to better suite your needs.Discussion
Before you can begin using PowerShell with AdminStudio you must first complete the following steps:
1. Download the PowerShell.zip file and locate the folder for your version of AdminStudio
2. In Windows Explorer browse to the location of the x86 version of PowerShell; by default this path is ?C:\Windows\SysWOW64\WindowsPowerShell\v1.0?
3. Extract the ?PowerShell.exe.config? to this location.
Once this is done you will now be able to execute PowerShell commands and scripts for AdminStudio. In this next part we will take the ?ImportTest.ps1? and configure this to use in your environment.
1. Extract the ?ImportTest.ps1? from the .zip file previously downloaded.
2. Open this file in a text editor of your choice.
3.Locate the section at the very top ?Input required from users?
4. You will need to modify the following:
A. $folder will need to be set to the folder where you want to import your packages from
B. $ConnectionString will need the ?Data Source? value modified to equal your ?ServerName\SQLInstalnce? or ?localhost? if SQL is on the same machine as AdminStudio
C. $ConnectionString will need the ?Initial Catalog? value modified to equal the name of the Application Catalog you created through AdminStudio
NOTE: If you have not created an Application Catalog, you can create this through the AdminStudio Client, or do this manually with SQL scripts we ship, or modify this script to create a catalog as a part of this process.
5. Once these changes have been made save the PowerShell Script.
6. Launch the x86 version of PowerShell as Administrator. By default the x86 PowerShell.exe is located in ?C:\Windows\SysWOW64\WindowsPowerShell\v1.0?
7. You cannot drag and drop the ?ImportTest.ps1? into the PowerShell command prompt and execute the script.
8. You should see progress messages as the import takes place, as well as an output of the final results.
Related Documents
For more information of the AdminStudio Platform API please refer to the following help article AdminStudio Platform API
For more information on creating an Application Catalog please refer to the following help article Creating New Application Catalogs
Was this helpful?
Related Articles
How to enable minor upgrade in Suite/Advanced UI MSI packages? 4Number of Views CVE-2024-7562: Privilege Escalation Vulnerability in Created MSI Packages 127Number of Views InstallShield 2008 Basic MSI, InstallScript MSI, and Express Support for .NET Framework 3.5 4Number of Views Launch an MSI Package Through a Custom Action in Express 3Number of Views PowerShell script to monitor the log files generated and deleted in a folder 11Number of Views
Revenera Assistant
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago