Search found 14 matches

Go to advanced search

by peterk
Wed Apr 10, 2024 8:56 pm
Forum: Common Problems
Topic: File modified during custom action goes back to original content
Replies: 5
Views: 4101
 
Jump to post

Re: File modified during custom action goes back to original content

Changing the sequence order in the Table Editor allows us to modify the file on disk and gets us past this issue. While I consider this solved, it will be a pain going forward for any engineer learning AI that they have to use the Table Editor for anything touching files that are set not to be overw...
by peterk
Tue Apr 09, 2024 3:21 pm
Forum: Common Problems
Topic: File modified during custom action goes back to original content
Replies: 5
Views: 4101
 
Jump to post

Re: File modified during custom action goes back to original content

ordered-sequence-AI.png This is our current order. The highlighted line is the custom action that fires that modifies the file. The one thing that we did do during the upgrade is we moved from having the custom powershell script go from inline to an external file that we call. In fact we moved all ...
by peterk
Mon Apr 08, 2024 2:39 pm
Forum: Common Problems
Topic: File modified during custom action goes back to original content
Replies: 5
Views: 4101
 
Jump to post

File modified during custom action goes back to original content

We upgraded to 21.5 from 20.0 and we are seeing a difference in behavior. We have a file that is set as not to overwrite during installation (upgrade). Screenshot 2024-04-08 093435.png This file is modified as one of our last custom actions by a powershell script. We can see in the logs and on disk ...
by peterk
Tue Feb 13, 2024 1:11 am
Forum: Building Installers
Topic: stand-alone .exe as a prerequisite
Replies: 1
Views: 5527
 
Jump to post

stand-alone .exe as a prerequisite

I actually have 3 bare .exe (docker that ships just a zip file with exe files) files that I need to somehow add a a prerequisite. I am not sure the best way to handle this. I want to have a condition for the version of the .exe so if a new updater has a newer version it will prompt for installation....
by peterk
Tue Oct 18, 2022 6:32 pm
Forum: Feature Requests
Topic: Add support for adding SQL Script File to command line interface
Replies: 2
Views: 20124
 
Jump to post

Add support for adding SQL Script File to command line interface

We have a need where we want to modify the list of SQL scripts that are run as part of the installer. The names of the sql scripts change frequently as they contain versioning information in the title. So we need a way of attaching SQL Script Files to a known database server connection. AI-SQL-Scrip...
by peterk
Tue Aug 16, 2022 2:31 pm
Forum: Common Problems
Topic: Digital certificate expired but only for command line build
Replies: 5
Views: 73289
 
Jump to post

Re: Digital certificate expired but only for command line build

After changing to use "Use file from Disk" our errors are now gone and we are able to finally sign our .exe
by peterk
Mon Aug 15, 2022 6:47 pm
Forum: Common Problems
Topic: Digital certificate expired but only for command line build
Replies: 5
Views: 73289
 
Jump to post

Re: Digital certificate expired but only for command line build

Now we are facing a new issue: [ DefaultBuild ] 14:13:38 Building package: C:\TeamCity\buildAgent\work\96d08da23e9ead6f\Software_1.6.168.4378.exe 14:13:38 Prepare build 14:13:38 Detecting MSI incompatible resources 14:13:38 Preparing files 14:14:22 Creating CAB file(s) 14:14:23 Signing CAB file(s) 1...
by peterk
Fri Aug 12, 2022 11:53 am
Forum: Building Installers
Topic: Add temporary folders via the command line
Replies: 4
Views: 5053
 
Jump to post

Re: Add temporary folders via the command line

What would be the suggestion then for achieving this goal then? Having a set of files within nested folders that I need to execute a custom action powershell script against? I am looking for solutions to work around the lack of functionality and its not clear to me what the best approach would be. TIA
by peterk
Fri Aug 12, 2022 12:25 am
Forum: Common Problems
Topic: Digital certificate expired but only for command line build
Replies: 5
Views: 73289
 
Jump to post

Digital certificate expired but only for command line build

We use TeamCity to build our product and we have just recently tried to enable the digital signature for our application. The certificate in the "store" is one that we created and appears to work just fine when we build our project through the UI. When we build our product using TeamCity a...
by peterk
Thu Aug 11, 2022 7:49 pm
Forum: Building Installers
Topic: Add temporary folders via the command line
Replies: 4
Views: 5053
 
Jump to post

Add temporary folders via the command line

Looking at: https://www.advancedinstaller.com/user-guide/file-commands.html There doesn't seem to be options to add temporary folders, only files. I cannot use the GUI to do this but have to use the command line. Ultimately, I am in need of adding a nested tree of folders containing files that will ...
by peterk
Tue Aug 09, 2022 7:36 pm
Forum: Common Problems
Topic: Physical Source not updating to be relative to project file
Replies: 2
Views: 1746
 
Jump to post

Re: Physical Source not updating to be relative to project file

After lurking through the forum, I am wondering further if there is no way the project automatically changes paths of synchronized files/folders which "should be" relative to the project file path. Looking at post: https://www.advancedinstaller.com/forums/viewtopic.php?t=28487 So what woul...
by peterk
Mon Aug 08, 2022 8:44 pm
Forum: Common Problems
Topic: Physical Source not updating to be relative to project file
Replies: 2
Views: 1746
 
Jump to post

Physical Source not updating to be relative to project file

So I have a project.aip folder in C:\builds\build_run_<num>\installer\project.aip I have two folders that I want to synchronize in my project: C:\builds\build_run_<num>\site1\folder1 C:\builds\build_run_<num>\site2\folder2 (where num starts at 1 when i created the project but will increment each tim...
by peterk
Mon Aug 08, 2022 4:19 pm
Forum: Common Problems
Topic: Synchronize Temporary Files?
Replies: 10
Views: 9468
 
Jump to post

Re: Synchronize Temporary Files?

To give you a scenario that I think fits a sync of temporary files: I have a folder c:/dev/artifacts which contains a changing set of files almost on a daily basis. In the artifacts folder we are constantly updating the files in there that contain python packages. We want those to be temporary becau...
by peterk
Wed Aug 03, 2022 3:40 pm
Forum: Common Problems
Topic: temporary file getting executed from additional temp location
Replies: 2
Views: 2430
 
Jump to post

temporary file getting executed from additional temp location

So during our install process we have a custom action. This custom action is a powershell script that runs that uses $PSScriptRoot to help with pathing. So the directory structure during install looks like this: C:\Users\<user>\AppData\Local\Temp\custom_stuff\script.ps1 Now script.ps1 references fil...

Go to advanced search