Steps:
1. Create a suite project with a suite project filename of Guidtest.issuite and include a primary package, a .exe or .msi package.
2. Open a text editor or a VBScript Editor, such as VbsEdit, and create a file named Guid.vbs then add the following VBScript code:
Dim pProject
Set pProject = CreateObject ("ISWiAutoSuite27.ISWiProject")
pProject.OpenProject "C:\InstallShield 2021 Projects\My Suite Name-1.issuite", False
Dim sp
for each sp in pProject.ISWiSuitePackages
Wscript.Echo sp.Name
sp.Name = pProject.GenerateGUID()
Wscript.Echo sp.Name
Next
pProject.SaveProject
pProject.CloseProject
"C:\Windows\SysWOW64\cscript.exe" "C:\Guid.vbs"
where cscript.exe (the main 32-bit VBScript console-based executable) is located in the "C:\Windows\SysWOW64" folder, then check the Package GUID for the included package. There will be an updated Package GUID for the package.
Note: wscript.exe (the main 32-bit VBScript GUI-based executable) is also located in the "C:\Windows\SysWOW64" folder. If the VBScript author only wants console-based output, cscript.exe needs to be used. If the VBScript author wants GUI-based output, wscript.exe needs to be used.
Related Articles
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
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. | |
Case id: 00001065
Activity: Status change: 2 hours ago