Search found 9 matches

Go to advanced search

by alext72
Thu Jun 23, 2022 10:06 am
Forum: Building Installers
Topic: Create registry key based on Ini file passed as property
Replies: 1
Views: 1179
 
Jump to post

Create registry key based on Ini file passed as property

Hello, Is there a way to do the following ? Let's say I want to build an MSI. This MSI should create some registry keys based on the content of an ini file ? Ini sample : [keys] 1 = 192.168.1.1 2 = 192.168.1.10 ... The goal is to create the following keys : HKLM\SOFTWARE\MyApp\Conf\ Name : 1 Value :...
by alext72
Fri May 28, 2021 8:20 am
Forum: Building Installers
Topic: Powershell Automation - Control Panel Icon
Replies: 9
Views: 16437
 
Jump to post

Re: Powershell Automation - Control Panel Icon

Thanks for your quick answer Catalin,

It works now, I was looking for a property rather than a method... My bad. :oops:
by alext72
Thu May 27, 2021 3:14 pm
Forum: Building Installers
Topic: Powershell Automation - Control Panel Icon
Replies: 9
Views: 16437
 
Jump to post

Re: Powershell Automation - Control Panel Icon

Hello, This improvement (adding the Control Panel icon) has been added in Advanced Installer 18.2, released on April 23rd, 2021. Best regards, Catalin Hello Catalin, Thanks for the info. I'm currently running the Version 18.2 (DE2BF547). How do you add the control panel icon info ? The only sub pro...
by alext72
Mon Apr 19, 2021 4:37 pm
Forum: Feature Requests
Topic: Powershell Automation - IShortcutsComponent - Add Method
Replies: 2
Views: 44117
 
Jump to post

Powershell Automation - IShortcutsComponent - Add Method

Hello, Could you add a new method to the IShortcutsComponent for creating a shortcut to an installed folder ? Like the CreateFileShorcut : https://www.advancedinstaller.com/user-guide/powershell-automation-ishortcutscomponent.html Methods CreateFileShorcut(IFolder target, IFile file) - Creates a new...
by alext72
Wed Mar 24, 2021 4:59 pm
Forum: Building Installers
Topic: Powershell Automation - Control Panel Icon
Replies: 9
Views: 16437
 
Jump to post

Re: Powershell Automation - Control Panel Icon

Also, since powershell doesn't have a control panel ico property, if I use the command line to set this property I can't build the project with the powershell build method. I must stick to the command line to also build the project. If it's builded with PS the icon is not displayed even if it's pres...
by alext72
Wed Mar 24, 2021 11:03 am
Forum: Building Installers
Topic: Powershell Automation - Control Panel Icon
Replies: 9
Views: 16437
 
Jump to post

Re: Powershell Automation - Control Panel Icon

Thanks, it's working great. I'm also trying to create a shortcut under [ProgramMenuFolder][ProductName] For Desktop folder i've followed the tutorial, referencing "desktopfolder" $project.ShortcutsComponent.CreateFileShortcuts("desktopfolder", $exeFile.Fullpath)) What's the speci...
by alext72
Tue Mar 23, 2021 5:43 pm
Forum: Building Installers
Topic: Powershell Automation - Control Panel Icon
Replies: 9
Views: 16437
 
Jump to post

Powershell Automation - Control Panel Icon

Hello, Currently trying to automate packages creation with powershell and the Advanced Installer com object. Everything is fine but one thing is missing, the ability to define the control panel icon under Product Detail I have created the project under "Architect mode" $project = $advinst....
by alext72
Tue Oct 27, 2020 11:59 am
Forum: Common Problems
Topic: Powershell Automation
Replies: 3
Views: 3850
 
Jump to post

Re: Powershell Automation

Hello Catalin,

Yes I already have sent an email at 'support@advancedinstaller.com' but i didn't have any feedback.
That's why i came here to ask about my problem.
I've double checked my inbox and junk folder and i don't see any reply.

Thanks a lot for your effort.

Regards,
Alexandre
by alext72
Mon Oct 26, 2020 10:43 am
Forum: Common Problems
Topic: Powershell Automation
Replies: 3
Views: 3850
 
Jump to post

Powershell Automation

Hello, We are trying to create a simple MST file to change the version property. We tried with a simple MSI : $adv = New-Object -ComObject AdvancedInstaller $msi = $adv.LoadProject("C:\Users\username\Desktop\Your Application.msi") $msi.ProductDetails.Version="1.3" $msi.SaveAs(&qu...

Go to advanced search