Search found 78 matches

Go to advanced search

by janisito
Wed Dec 12, 2018 9:27 pm
Forum: Common Problems
Topic: Action data maximum length?
Replies: 6
Views: 4515
 
Jump to post

Re: Action data maximum length?

Thank you!
by janisito
Tue Dec 11, 2018 7:22 pm
Forum: Common Problems
Topic: Action data maximum length?
Replies: 6
Views: 4515
 
Jump to post

Re: Action data maximum length?

Hmmm... I found it. My bad. Incorrect way: string actionData = session.CustomActionData.ToString(); Correct way: string actionData = session["CustomActionData"]; They will differ. The incorrect way will treat the whole string as key/value and omit duplicate ones. Took me some hours to figu...
by janisito
Tue Dec 11, 2018 6:59 pm
Forum: Common Problems
Topic: Action data maximum length?
Replies: 6
Views: 4515
 
Jump to post

Re: Action data maximum length?

Hi Catalin, Thank you for your reply. I think I have found the issue. The action data I pass to my custom action looks simplified like this: [PARAM_1]|[PARAM_2]|[PARAM_3]|[PARAM_4]|[PARAM_5] In the custom action I get the string like so: string customData = session.CustomActionData.ToString(); Each ...
by janisito
Tue Dec 11, 2018 5:16 pm
Forum: Common Problems
Topic: Action data maximum length?
Replies: 6
Views: 4515
 
Jump to post

Action data maximum length?

Hi, When I pass a large string (around 300 characters) through action data (using installer properties) to a custom action that runs deferred some the string seems to be missing. Is there a maximum length that can be passed? Or is there a maxmum length what each install parameter can be? Thanks, Reg...
by janisito
Tue Dec 11, 2018 8:58 am
Forum: Common Problems
Topic: Catch installer error code
Replies: 2
Views: 2349
 
Jump to post

Re: Catch installer error code

Here is my solution to get the exit code. Implemented a custom action that runs this code: ProcessStartInfo processStartInfo = new ProcessStartInfo(); processStartInfo.CreateNoWindow = false; processStartInfo.UseShellExecute = false; processStartInfo.FileName = filename; processStartInfo.WindowStyle...
by janisito
Mon Dec 10, 2018 11:12 pm
Forum: Common Problems
Topic: Catch installer error code
Replies: 2
Views: 2349
 
Jump to post

Catch installer error code

Hi, In my installer I'm using the custom action LaunchFileFromProperty to install SQL Server Express 2017 with command line parameters in quiet mode. This happens when the user presses the install button in my last installer dialog. Most of the times it works fine but occasionally the SQL Server Exp...
by janisito
Mon Dec 10, 2018 10:34 pm
Forum: Common Problems
Topic: Always install prerequisite doesn't work
Replies: 8
Views: 5321
 
Jump to post

Re: Always install prerequisite doesn't work

Hi Catalin,

Ok. It will take some time to get you the stripped down AI-file that you can use to reproduce the error. I'll try having it for you by the end of the week.

Regards
Jan
by janisito
Thu Dec 06, 2018 10:32 pm
Forum: Common Problems
Topic: Always install prerequisite doesn't work
Replies: 8
Views: 5321
 
Jump to post

Re: Always install prerequisite doesn't work

I ended up changing it to be a custom action (LaunchFileFromProperty) that is triggered by the Install button, instead of being a pure prerequisite. It worked out in the end.
by janisito
Thu Dec 06, 2018 9:10 am
Forum: Common Problems
Topic: Always install prerequisite doesn't work
Replies: 8
Views: 5321
 
Jump to post

Re: Always install prerequisite doesn't work

I have been struggling with this. I think my approach is incorrect. Instead of trying to install SQL Server 2017 Express as a prerequisite, maybe I should install it using a custom action each time the user selects to create a new instance from the installer dialogs (since it should be possible to i...
by janisito
Thu Dec 06, 2018 9:02 am
Forum: Common Problems
Topic: Text labels vanish mysteriously when pressing the tab button
Replies: 12
Views: 8231
 
Jump to post

Re: Text labels vanish mysteriously when pressing the tab button

Yes, I'm aware. Thanks for reminding me.
by janisito
Wed Dec 05, 2018 11:15 pm
Forum: Common Problems
Topic: Text labels vanish mysteriously when pressing the tab button
Replies: 12
Views: 8231
 
Jump to post

Re: Text labels vanish mysteriously when pressing the tab button

Hi Catalin,

Thank you for the investigation and the proposed workaround. I can confirm the workaround works.

Thank you again,

Regards
Jan
by janisito
Wed Dec 05, 2018 9:13 am
Forum: Common Problems
Topic: Always install prerequisite doesn't work
Replies: 8
Views: 5321
 
Jump to post

Re: Always install prerequisite doesn't work

Adding to this question. What I want to achieve is installing SQL Server Express 2017 (as a prerequisite) each time the user selects to create a new instance of the SQL Server in the installer dialog. I don't want the installer to evaluate a registry key to check if SQL Server Express 2017 is instal...
by janisito
Wed Dec 05, 2018 12:07 am
Forum: Common Problems
Topic: Always install prerequisite doesn't work
Replies: 8
Views: 5321
 
Jump to post

Always install prerequisite doesn't work

Hi, Thank you for an awesome install product! My feature based prerequisite (SQL Server Express 2017) installs fine when "Install prerequisite based on condition" is selected. When I switch to use "Always install prerequisite" AI does not even try to install the prereq. It seems ...
by janisito
Mon Dec 03, 2018 8:43 pm
Forum: Common Problems
Topic: Text labels vanish mysteriously when pressing the tab button
Replies: 12
Views: 8231
 
Jump to post

Re: Text labels vanish mysteriously when pressing the tab button

Hi Catalin,

Thank you for the quick attention on this issue. It will be interesting to hear what you will find.

Regards
Jan
by janisito
Thu Nov 29, 2018 4:18 pm
Forum: Common Problems
Topic: Text labels vanish mysteriously when pressing the tab button
Replies: 12
Views: 8231
 
Jump to post

Re: Text labels vanish mysteriously when pressing the tab button

It seems to me that something is corrupt in the project file itself causing this to happen. When I export the dialog to a repository and import to another project it works.

Go to advanced search