Search found 308 matches

Go to advanced search

by sjeslis
Thu Sep 16, 2021 4:45 pm
Forum: Common Problems
Topic: Merge Module Custom Action With NOT Property Condition
Replies: 10
Views: 20493
 
Jump to post

Re: Merge Module Custom Action With NOT Property Condition

I made MY_PROP "optional" by adding MY_PROP to parent installer's "Install Parameters" and set it 0. In the MSM I made the condition check MY_PROP.[guid] = "0" so NOT having it on the command line will run the CA by default, passing in MY_PROP=1 will cause it to be skip...
by sjeslis
Fri Sep 10, 2021 9:31 pm
Forum: Common Problems
Topic: Merge Module Custom Action With NOT Property Condition
Replies: 10
Views: 20493
 
Jump to post

Re: Merge Module Custom Action With NOT Property Condition

This answer didn't complete address my question as I want the CA to run ONLY if MY_PROP=1 and not run if it's anything else or NOT provided on the command line.

This answer did point me in the right direction I hope. If so I will post what I did here for history purposes :D
by sjeslis
Thu Apr 15, 2021 6:03 pm
Forum: Common Problems
Topic: "Do Not Overwrite Existing File" Disabled In Merge Module
Replies: 11
Views: 11637
 
Jump to post

Re: "Do Not Overwrite Existing File" Disabled In Merge Module

Ha ha Catalin! Yes quite awhile ago. I just ran into again today :-)
by sjeslis
Thu Apr 15, 2021 4:47 pm
Forum: Common Problems
Topic: "Do Not Overwrite Existing File" Disabled In Merge Module
Replies: 11
Views: 11637
 
Jump to post

Re: "Do Not Overwrite Existing File" Disabled In Merge Module

This would still be a handy feature :D
by sjeslis
Thu Jul 02, 2020 3:42 pm
Forum: Common Problems
Topic: Pass parameters to merge modules
Replies: 11
Views: 16620
 
Jump to post

Re: Pass parameters to merge modules

Doing the SET INSTALLER PROPERTY from Main Project resolved my troubles.
by sjeslis
Thu Jul 02, 2020 3:01 pm
Forum: Common Problems
Topic: Pass parameters to merge modules
Replies: 11
Views: 16620
 
Jump to post

Re: Pass parameters to merge modules

Think my answer to my question:
Is the SET INSTALLER PROPERTY CA done in the parent/main project installer OR in the Merge Module?
is from the Main Project as noted here:

viewtopic.php?t=28629
by sjeslis
Thu Jul 02, 2020 2:52 pm
Forum: Common Problems
Topic: Pass parameters to merge modules
Replies: 11
Views: 16620
 
Jump to post

Re: Pass parameters to merge modules

Is the SET INSTALLER PROPERTY CA done in the parent/main project installer OR in the Merge Module? You can past those properties using the "Set installer property" custom action, or the "Set installer property value" control event. As mentioned by my colleague Cosmin in the above...
by sjeslis
Thu Jul 02, 2020 1:06 am
Forum: Common Problems
Topic: Merge Module Custom Action With NOT Property Condition
Replies: 10
Views: 20493
 
Jump to post

Re: Merge Module Custom Action With NOT Property Condition

Ahhh don't think Set Installer Property CA picked up Main Project Prop, can both be named the same? MSI (s) (34:98) [18:49:02:903]: Doing action: SetProperty_NOCHROME.1774B61E_82C4_4E8C_8FBA_A705BBC46365 Action 18:49:02: SetProperty_NOCHROME.1774B61E_82C4_4E8C_8FBA_A705BBC46365. Action start 18:49:0...
by sjeslis
Thu Jul 02, 2020 12:57 am
Forum: Common Problems
Topic: Merge Module Custom Action With NOT Property Condition
Replies: 10
Views: 20493
 
Jump to post

Re: Merge Module Custom Action With NOT Property Condition

I used the "Set Installer Property" as mentioned in: https://www.advancedinstaller.com/forums/viewtopic.php?t=3159#p71219 And pass in NOCHROME=1 on command line (NOTE: Not silent command line, still using UI) and my condition is NOCHROME <> "1" so it should fail and not do the CA...
by sjeslis
Wed Jul 01, 2020 9:36 pm
Forum: Common Problems
Topic: Merge Module Custom Action With NOT Property Condition
Replies: 10
Views: 20493
 
Jump to post

Re: Merge Module Custom Action With NOT Property Condition

For the last scenario I think I got bit by Merge Module defined properties, i.e. the Merge Module defined: Property(S): NOCHROME.1774B61E_82C4_4E8C_8FBA_A705BBC46365 = 0 and I need to copy the Session One to this "local" one, e.g.: Session.Property("NOCHROME.1774B61E_82C4_4E8C_8FBA_A7...
by sjeslis
Wed Jul 01, 2020 9:28 pm
Forum: Common Problems
Topic: Merge Module Custom Action With NOT Property Condition
Replies: 10
Views: 20493
 
Jump to post

Re: Merge Module Custom Action With NOT Property Condition

I switched to defining NOCHROME set to 0 in my merge module details and changed the condition to NOCHROME=0 but the CA still runs when passing in NOCHROME=1

We're on A.I. 15.9
by sjeslis
Wed Jul 01, 2020 8:32 pm
Forum: Common Problems
Topic: Merge Module Custom Action With NOT Property Condition
Replies: 10
Views: 20493
 
Jump to post

Merge Module Custom Action With NOT Property Condition

I wanted to run a Custom Action, defined in a merge module, only if a global property was NOT defined. e.g. take "NOCHROME" I did not define it in "Module Details" -> "Properties" section. For the "Execution Stage" condition I entered "NOT NOCHROME"....
by sjeslis
Tue Jun 09, 2020 1:52 pm
Forum: Common Problems
Topic: Temporary Bat File Not Running As Custom Action
Replies: 9
Views: 8520
 
Jump to post

Re: Temporary Bat File Not Running As Custom Action

Catalin, thanks for letting us know!
by sjeslis
Tue May 28, 2019 3:19 pm
Forum: Common Problems
Topic: Self-Healing In A Windows Service Based Application?
Replies: 1
Views: 3651
 
Jump to post

Self-Healing In A Windows Service Based Application?

I know there's a way to implement a self-healing install through use of advertised shortcuts. Has anyone tried to implement a self-heal in a Windows service based application? i.e. no shortcuts used to launch main application.

Go to advanced search