Advanced Installer Community - Search

Search found 25 matches

Go to advanced search

by dfbdp
Fri Oct 17, 2014 12:38 pm
Forum: Common Problems
Topic: Run powershell script with AI msi
Replies: 9
Views: 13968
 
Jump to post

Re: Run powershell script with AI msi

Hi Eusebiu,

Do you see any errors in the logfile or can i send you the files for review?
by dfbdp
Fri Oct 17, 2014 11:15 am
Forum: Common Problems
Topic: Run powershell script with AI msi
Replies: 9
Views: 13968
 
Jump to post

Re: Run powershell script with AI msi

I tested it again and it stalls, and there is 3 processes of the ms msi

Here is the log:

https://www.dropbox.com/s/dvdvam2yiox7t ... e.log?dl=0

Please help
by dfbdp
Fri Oct 17, 2014 10:57 am
Forum: Common Problems
Topic: Run powershell script with AI msi
Replies: 9
Views: 13968
 
Jump to post

Re: Run powershell script with AI msi

Hi Eusebiu,

Sorry i found it and tried this solution:
Please look here: https://www.dropbox.com/s/ooa0bwokvjo8z ... t.jpg?dl=0

Some of the script is executed, since the onedrive program is closing down but then the msi just stalls and "hangs"

Any idea why?
by dfbdp
Fri Oct 17, 2014 10:49 am
Forum: Common Problems
Topic: Run powershell script with AI msi
Replies: 9
Views: 13968
 
Jump to post

Re: Run powershell script with AI msi

Okay, but where do i add the predefined custom action? and insert the powershell script into the "Script text" field?
by dfbdp
Fri Oct 17, 2014 10:33 am
Forum: Common Problems
Topic: Run powershell script with AI msi
Replies: 9
Views: 13968
 
Jump to post

Re: Run powershell script with AI msi

Hi E,

I dont understand that thread.
I managed to look at my other packages which work, and i have setup the custom action to run the powershell script, like this:

Look here: https://www.dropbox.com/s/552hv0j0gchr18s/fix.jpg?dl=0

If i run this, it only opens the powershell.ps1 file in notepad ...
by dfbdp
Fri Oct 17, 2014 9:55 am
Forum: Common Problems
Topic: Run powershell script with AI msi
Replies: 9
Views: 13968
 
Jump to post

Run powershell script with AI msi

Hi,

I have a powershell script, which i need to run in a AI msi/exe package.
I cant figure out where and HOW to set this up in the custom actions.

Can anyone help me?

Best regards
BDP
by dfbdp
Mon Feb 24, 2014 2:09 pm
Forum: Building Installers
Topic: Run Batchfile after installation problem
Replies: 28
Views: 27870
 
Jump to post

Re: Run Batchfile after installation problem

Hi,

Yes, i have a batch file with parameters,m which runs the default Microsoft essentials.exe file and this works OK.
But when i compile it to a .exe or .msi with AI, the package dont work/install.

What i dont understand is that i have several other projects with the same setup. 1 batch file with ...
by dfbdp
Fri Feb 21, 2014 3:07 pm
Forum: Building Installers
Topic: Run multiple installations in 1 file
Replies: 1
Views: 2118
 
Jump to post

Run multiple installations in 1 file

Hi,

I have about 14 programs, which are a mix of EXE, MSI and BATCH file installations.
They are all made in AI, with no GUI and userintervention needed.

They all work fine, if i install them 1 after another but what i am interrested in, is if i can make a SUPER package
which contaions all the ...
by dfbdp
Fri Feb 21, 2014 1:11 pm
Forum: Building Installers
Topic: Run Batchfile after installation problem
Replies: 28
Views: 27870
 
Jump to post

Re: Run Batchfile after installation problem

Hi Eusebiu,

I have a package containing a batch file which runs a exe file, and it works fine when used.
I have several packages which has this setup and runs fine, but this speciel package (Microsoft essentials) somehow dont run and install and i cant figure out why.

It is made exactly as the ...
by dfbdp
Tue Jan 21, 2014 2:50 pm
Forum: Building Installers
Topic: Run Batchfile after installation problem
Replies: 28
Views: 27870
 
Jump to post

Re: Run Batchfile after installation problem

Hi,

I manage to find the solution. It was the escalation of the MSI.

Thx
by dfbdp
Mon Jan 20, 2014 1:37 pm
Forum: Building Installers
Topic: Run Batchfile after installation problem
Replies: 28
Views: 27870
 
Jump to post

Re: Run Batchfile after installation problem

Hi Eusebio,

I have ran into another straneg problem.

I have made a project (Java 7.51) which runs the files as ELEVATED, since the frontend users has UAC enabled. The package works on windows 7, prompt an UAC dialog and when i press "Yes" the msi file is installed and it works!.
But the package ...
by dfbdp
Mon Jan 13, 2014 9:33 am
Forum: Building Installers
Topic: Run Batchfile after installation problem
Replies: 28
Views: 27870
 
Jump to post

Re: Run Batchfile after installation problem

Hi Eusebio,

I know got it to work :)

It was "add file" in the custom actions which i managed, due to your guide, to setup correctly and now the packages are working silent and perfect. :)

Thank you for the good support!

Best regards
Brian Petersen
by dfbdp
Fri Jan 10, 2014 1:55 pm
Forum: Building Installers
Topic: Run Batchfile after installation problem
Replies: 28
Views: 27870
 
Jump to post

Re: Run Batchfile after installation problem

Ah, i made it work now :D... but i needed to have the "Launchfile" BELOW the "Finish execution" in the install execution stage... not above...
Now i have a MSI, which insert the files and run the batch file in silentmode, so it works now... :)

I will try to get another package to work... :P

Thx
by dfbdp
Fri Jan 10, 2014 1:43 pm
Forum: Building Installers
Topic: Run Batchfile after installation problem
Replies: 28
Views: 27870
 
Jump to post

Re: Run Batchfile after installation problem

Could you make your example to be an .exe file instead? As i understand it, this would make it possible to run the wrapper.msi in silent mode.?
So the way it would work would be this:

1) User clicks "install link" on website.
2) User are promted for to run install.ede and clicks yes.
3) Install.exe ...
by dfbdp
Fri Jan 10, 2014 1:37 pm
Forum: Building Installers
Topic: Run Batchfile after installation problem
Replies: 28
Views: 27870
 
Jump to post

Re: Run Batchfile after installation problem

Ah, i see the problem now.

So i need to save the MSI file in .exe file instead to make it all silent, with only progress bar?

Go to advanced search