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 11 matches

Go to advanced search

by 413X
Fri Mar 08, 2019 8:56 am
Forum: Common Problems
Topic: CheckIfUserExists not working anymore
Replies: 3
Views: 3231
 
Jump to post

Re: CheckIfUserExists not working anymore

Solved it by adding the USER_NAME and USER_PASSWORD properties as they are hardcoded as a return value of the function. Strange that it worked before the updates.
by 413X
Wed Mar 06, 2019 2:39 pm
Forum: Common Problems
Topic: CheckIfUserExists not working anymore
Replies: 3
Views: 3231
 
Jump to post

CheckIfUserExists not working anymore

Hello

I previously had my project in Advanced installer 10.3 and in Windows 7. Now I've updated to latest and in Windows 10. My CheckIfUserExists took a property

name: [MYDEFINED_USER_NAME]

and then in the next custom action:
ErrorMessage_UserExists as a "Display Error Message" custom action ...
by 413X
Mon Feb 25, 2019 12:22 pm
Forum: Common Problems
Topic: Install service error code 1920
Replies: 9
Views: 6298
 
Jump to post

Re: Install service error code 1920

I concluded that the suggested method does not work. I resolved it by 'Call function from attached native dll" with Attached DLL: C:\Program Files (x86)\Caphyon\Advanced Installer 15.6\custact\x86\aicustact.dll with the function CreateExeProcess with the Action data with my exe followed up by the ...
by 413X
Thu Feb 21, 2019 1:30 pm
Forum: Common Problems
Topic: Install service error code 1920
Replies: 9
Views: 6298
 
Jump to post

Re: Install service error code 1920

I did as you suggested and failed yet again. I even tried hardcoding the path and variables in AI with full paths and it failed. When the error prompts, I opened up the elevated commandline and ran the same .bat script exactly as AI should and it works fine. I've tried ticking the "Run as ...
by 413X
Tue Feb 19, 2019 2:51 pm
Forum: Common Problems
Topic: Install service error code 1920
Replies: 9
Views: 6298
 
Jump to post

Re: Install service error code 1920

Okay so I had another issue but solved it, so i wrote "nvm". But now I have yet another one so here goes:


In my installation I am attempting to install a service with a .cmd-script. I'm unsure where exactly is the most correct to place the "launch file" is it pre "Finish execution" after it or ...
by 413X
Tue Feb 19, 2019 10:45 am
Forum: Common Problems
Topic: Install service error code 1920
Replies: 9
Views: 6298
 
Jump to post

Re: Install service error code 1920

nvm
by 413X
Fri Feb 08, 2019 10:12 am
Forum: Common Problems
Topic: Install service error code 1920
Replies: 9
Views: 6298
 
Jump to post

Install service error code 1920

I have a very straight up installation I would like to work.

1. Files to installation folder. Some config files goes to a folder in ProgramData which the service will read at install.
2. Install my service with argument /I that is. Without Advanced installer I would just install it by: myService ...
by 413X
Fri Jul 06, 2018 3:12 pm
Forum: Common Problems
Topic: Wait for Service to be running and then proceed
Replies: 3
Views: 2850
 
Jump to post

Re: Wait for Service to be running and then proceed

Heh, it appears I was wrong what I needed so I coded this little vbscript in vain. So in case anyone needs it. Here you go. Example case: cscript script.vbs "servicename1" "servicename2" "servicename3etc"

' Checks if services exists and is running

' Configurable variables:
Dim objAllowedAttempts ...
by 413X
Fri Jul 06, 2018 9:56 am
Forum: Common Problems
Topic: Wait for Service to be running and then proceed
Replies: 3
Views: 2850
 
Jump to post

Wait for Service to be running and then proceed

Hello

I am currently experiencing some issues with my installation. I believe it is that my service has not started completely before next custom action is executed.

In my custom action sequence it looks like this:

1. Start Service A.
2. Start Service B.
3. Do stuff with Service A. Fails.
4...12 ...
by 413X
Fri Jun 15, 2018 11:36 am
Forum: Common Problems
Topic: Hide username and password in log file
Replies: 3
Views: 3576
 
Jump to post

Re: Hide username and password in log file

Edit: Removed my followup question.

Adding the property CustomActionData with the hide property helped remove all the customactions.
by 413X
Wed Jun 13, 2018 12:07 pm
Forum: Common Problems
Topic: Hide username and password in log file
Replies: 3
Views: 3576
 
Jump to post

Hide username and password in log file

I am installing silently using a command line script which looks along the lines of:

"C:\Users\theUser\Desktop\application.exe" /exenoui /quiet /norestart /l*v "C:\Users\theUser\Desktop\Install.log" VARIOUS_VARIABLES="WITHTHEIRVALUES" APPLICATION_USERNAME="UN" APPLICATION_PASSWORD="PW"

I do not ...

Go to advanced search