Search found 97 matches

Go to advanced search

by a.guelle
Fri Jun 05, 2015 3:11 pm
Forum: Common Problems
Topic: [solved] File Browsing during installation
Replies: 4
Views: 3585
 
Jump to post

[solved] File Browsing during installation

Hey there,

I tried to follow the steps mentioned here http://www.advancedinstaller.com/user-g ... -file.html. But this seems to be outdated as I cannot find the variable [AI_OFN_FILEPATH] nor the event "doAction" (I assume it is "Execute custom action").
by a.guelle
Fri Jun 05, 2015 2:54 pm
Forum: Common Problems
Topic: [solved] Writing Files from CustomAction .VBS File
Replies: 5
Views: 5077
 
Jump to post

Re: Writing Files from CustomAction .VBS File

Yes, I do. The attached failure happens at the end of installing the debugger.

It says: "Error at creating the process <C:\Program Files(x86)\Microsoft Script Debugger\msscrdbg.exe /regserver>. Reason:" I could not find any hint to it via google.
by a.guelle
Fri Jun 05, 2015 10:47 am
Forum: Common Problems
Topic: [solved] Writing Files from CustomAction .VBS File
Replies: 5
Views: 5077
 
Jump to post

Re: Writing Files from CustomAction .VBS File

Ok It works. My Custom action Execution Stage was set to "Maintenance" instead of "Install".

Regarding this: How do I debug a .VBS custom action?

The Debugger installation fails on all my machines.
by a.guelle
Fri Jun 05, 2015 10:28 am
Forum: Common Problems
Topic: [solved] Custom Action: Piping output of VBS to file
Replies: 1
Views: 2051
 
Jump to post

Re: Custom Action: Piping output of VBS to file

Ok It works. My Custom action Execution Stage was set to "Maintenance" instead of "Install".
by a.guelle
Fri Jun 05, 2015 10:11 am
Forum: Common Problems
Topic: [solved] Custom Action: Piping output of VBS to file
Replies: 1
Views: 2051
 
Jump to post

[solved] Custom Action: Piping output of VBS to file

Hi guys, Lets' assume you have a custom action that runs a batch file: MyBat.bat echo Hello World You are now able pipe this out put to a file when putting "> myFile.txt" to the Command line arguments. If your batch file calls a VBS file that produces your output with MyBat.bat CScript MyV...
by a.guelle
Fri Jun 05, 2015 9:50 am
Forum: Common Problems
Topic: [solved] Writing Files from CustomAction .VBS File
Replies: 5
Views: 5077
 
Jump to post

[solved] Writing Files from CustomAction .VBS File

Hi Folks, The following VBScript works fine when running standalone: Set filesys = CreateObject("Scripting.FileSystemObject") Set logFile = filesys.CreateTextFile("InstallVBS.log", True) logFile.WriteLine "Hello World" logFile.Close But running it as a custom action via...
by a.guelle
Fri Jun 05, 2015 8:19 am
Forum: Common Problems
Topic: [solved] When is "APPDIR" available in VB script?
Replies: 3
Views: 3895
 
Jump to post

Re: When is "APPDIR" available in VB script?

Yeah information seem to be wide spreaded over the net. Passing my property as "Action Data" did not work either the property was also empty. The only way was to pass the argument to a "Launch installed file" action and this does not make sense to me. I agree that the core proble...
by a.guelle
Thu Jun 04, 2015 2:26 pm
Forum: Common Problems
Topic: [solved] When is "APPDIR" available in VB script?
Replies: 3
Views: 3895
 
Jump to post

Re: When is "APPDIR" available in VB script?

I now made a workaround by launching my script drom a .VBS file. This can be run deferred AND I am able to pass [APPDIR] as an argument.

Building a dom maniplulator on VBS = 1 hour
Getting it to work from Advanced Installer = 1 day

Working with Advanced Installer is like walking on quicksand.
by a.guelle
Thu Jun 04, 2015 11:28 am
Forum: Common Problems
Topic: [solved] When is "APPDIR" available in VB script?
Replies: 3
Views: 3895
 
Jump to post

[solved] When is "APPDIR" available in VB script?

Hi Folks, am running an inline VB script that manipulates an installed file. So I need the installation directory from: Session.Property("APPDIR") It seems that this is only available if I run my custom Action with Execution Time "Immediately". But to that time my file is not ins...
by a.guelle
Thu Jun 04, 2015 9:04 am
Forum: Common Problems
Topic: [solved] Uninstallation does not remove files
Replies: 6
Views: 7356
 
Jump to post

Re: Uninstallation does not remove files

Hi Dan, I realized that I marked all XML files as such when importing the JBoss folder. This was not necessary as I did not need to change them during the installation. After I imported all files as "normal" files instead of XML files the uninstallation worked as expected. Thanx so far, An...
by a.guelle
Tue Jun 02, 2015 3:14 pm
Forum: Common Problems
Topic: [solved] Non-deterministic behaviour on re-install
Replies: 3
Views: 2672
 
Jump to post

Re: Non-deterministic behaviour on re-install

Hi Dan,

that makes sense. So whenever I built a new package the old one was uninstalled automatically (though I did not change the ProductID). But in the seldom cases that I just ran a built package again, I got the modifying dialog.

Thanx for the explanation,

Angelo

-solved-
by a.guelle
Tue Jun 02, 2015 10:18 am
Forum: Common Problems
Topic: [solved] Uninstallation does not remove files
Replies: 6
Views: 7356
 
Jump to post

Re: Uninstallation does not remove files

The wizard method also does not clean up my directory...
by a.guelle
Tue Jun 02, 2015 10:07 am
Forum: Common Problems
Topic: [solved] Uninstallation does not remove files
Replies: 6
Views: 7356
 
Jump to post

Re: Uninstallation does not remove files

Hi Dan,

The files were created by the MSI Installer. I realized that all files left are XML files. But though they are explicitly marked for uninstallation, they stay...
by a.guelle
Mon Jun 01, 2015 2:23 pm
Forum: Common Problems
Topic: [solved] Uninstallation does not remove files
Replies: 6
Views: 7356
 
Jump to post

[solved] Uninstallation does not remove files

Hi,

when running an un-installation my previously installed files will not be removed. Maybe i accidently misconfigured something, but I have no idea where...

Doesn someone have an idea?
by a.guelle
Mon Jun 01, 2015 2:13 pm
Forum: Common Problems
Topic: [solved] Non-deterministic behaviour on re-install
Replies: 3
Views: 2672
 
Jump to post

[solved] Non-deterministic behaviour on re-install

Hi, when building an MSI package I am doing the same routine over and over again: installing, testing, modifying the MSI package and installing again. Mostly the installer automatically uninstalls the previous installation before installing the new one. Bur sometimes I does not. Then I get a dialog ...

Go to advanced search