Search found 3 matches

Go to advanced search

by gazunk
Fri Sep 10, 2021 3:54 pm
Forum: Building Installers
Topic: Launch Application with PS Automation
Replies: 1
Views: 10551
 
Jump to post

Launch Application with PS Automation

My installer generated by a PowerShell script works, but I don't get the "Launch Application" final tick box in the wizard.

After reading around my best guess was to have something like $project.PropertyComponent.NewProperty("FILE_TO_LAUNCH","[#MyApp.exe]") but that doesn't seem to work.

Comparing ...
by gazunk
Tue Aug 24, 2021 6:46 pm
Forum: Building Installers
Topic: PowerShell build problems
Replies: 7
Views: 17607
 
Jump to post

Re: PowerShell build problems

Thanks for the reply! I did instantiate $advinst, but it looks like you called the other errors correctly, ta.
by gazunk
Mon Aug 23, 2021 11:37 pm
Forum: Building Installers
Topic: PowerShell build problems
Replies: 7
Views: 17607
 
Jump to post

PowerShell build problems

Hi,

I'm trying to build an installer from scratch using Powershell, for use in a multi-project CI system. I am following this tutorial: https://www.advancedinstaller.com/user-guide/tutorial-powershell-commands-installation.html

This simple script fails:


$project = $advinst.CreateProjects ...

Go to advanced search