We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 6 matches

Go to advanced search

by jakub
Thu Sep 02, 2021 8:09 am
Forum: Building Installers
Topic: Change versioned folder name at build time
Replies: 5
Views: 15638
 
Jump to post

Re: Change versioned folder name at build time

Hi,

Thanks for detailed explanation. I am wondering if there is any way to do that without custom actions? If I use APPDIR directly in property initial value, which is used by property based folder, it is not resolved.

BR,
Jakub
by jakub
Tue Aug 31, 2021 2:08 pm
Forum: Building Installers
Topic: Using PowerShell automation with multiple AI versions on the same host
Replies: 5
Views: 15519
 
Jump to post

Re: Using PowerShell automation with multiple AI versions on the same host

Hi Liviu,

alright, in elevated command prompt it works! I was misled by oleview.exe tool which somehow doesn't refresh the current state correctly.

Thanks,
Jakub
by jakub
Tue Aug 31, 2021 7:21 am
Forum: Building Installers
Topic: Using PowerShell automation with multiple AI versions on the same host
Replies: 5
Views: 15519
 
Jump to post

Re: Using PowerShell automation with multiple AI versions on the same host

Hi,

Thanks for quick reply.

So I've checked and it does not work for me. Actually I can see that the command modifies some registries (I can see in oleview.exe that COM object is registered correctly ), but still has no effect, even though I start a new PowerShell session each time. Additionally ...
by jakub
Mon Aug 30, 2021 11:18 am
Forum: Building Installers
Topic: Change versioned folder name at build time
Replies: 5
Views: 15638
 
Jump to post

Re: Change versioned folder name at build time

Hi,

Thanks for quick reply.

What I meant is not to change build output folder name, but to change a folder name within an installer (which is subfolder of APPDIR in my project), so that after running the installer on target machine the folder name contains a version with timestamp.

For that ...
by jakub
Thu Aug 26, 2021 1:00 pm
Forum: Building Installers
Topic: Using PowerShell automation with multiple AI versions on the same host
Replies: 5
Views: 15519
 
Jump to post

Using PowerShell automation with multiple AI versions on the same host

I am using PowerShell automation script to adjust versioned folder name AIP project at build time:

$advinst = New-Object -comobject AdvancedInstaller
$project = $advinst.LoadProject("$absoluteProjectPath")
$versionedFolder = $project.FoldersComponent.FindFolderByPath("APPDIR\agent\bin").Folders[0 ...
by jakub
Thu Aug 26, 2021 12:31 pm
Forum: Building Installers
Topic: Change versioned folder name at build time
Replies: 5
Views: 15638
 
Jump to post

Change versioned folder name at build time

I would like to change folder name which contains version at build time, similar to what is proposed here: https://www.advancedinstaller.com/forums/viewtopic.php?t=40913#p109806. The difference is I do not want to use ProductVersion property, since in my case it does not contain build timestamp ...

Go to advanced search