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

Go to advanced search

by noisyfreak
Wed Dec 18, 2013 12:25 pm
Forum: Building Installers
Topic: C# custom action, new line in property
Replies: 3
Views: 3931
 
Jump to post

Re: C# custom action, new line in property

Hi,
It's not working, \r\n is displayed in file.
I found a way by setting the line feed in the vbs then using in c# :
vbs :
Session.Property("LF")=vbLf
c# :
str += line + session["LF"]

Problem solved, thanks for answer.

Regards.
by noisyfreak
Tue Dec 17, 2013 1:03 pm
Forum: Building Installers
Topic: C# custom action, new line in property
Replies: 3
Views: 3931
 
Jump to post

C# custom action, new line in property

Hi,
I want to put some text on a property, then use this property in a text file update. Datas in text are separated by a line break ( i can't change that ), but when i try to do the following in c# :
String str = "";
foreach (String line in lines)
{
str += line + "\n";
}
session["MACADDR ...
by noisyfreak
Mon Dec 09, 2013 10:28 am
Forum: Building Installers
Topic: Install client-server
Replies: 1
Views: 2037
 
Jump to post

Install client-server

Hi,
I need to install a msi on server and multiple clients in parallel.
I would use the same msi but files which have to be installed are not the same on the client side and on the server side.

How could i parameter the following :
File 1 have to be installed on the 2 side
File 2 have to be ...
by noisyfreak
Wed Nov 13, 2013 3:59 pm
Forum: Common Problems
Topic: Valid script which doesn't work in .msi
Replies: 5
Views: 3932
 
Jump to post

Re: Valid script which doesn't work in .msi

Hi,
There's no problem ;)
Ok I'll try that asap.

Thanks for your time.
Regards.
by noisyfreak
Wed Nov 06, 2013 10:45 am
Forum: Common Problems
Topic: Valid script which doesn't work in .msi
Replies: 5
Views: 3932
 
Jump to post

Re: Valid script which doesn't work in .msi

Hi,
Yes i found this message "Input past end of file" for the line "strResults = FTempFile3.ReadAll". It's as if the temp file couldn't be created but i don't know why...
You could test this by passing in argument the result of windows command "hostname" which give your computer's name.


Regards.
by noisyfreak
Tue Nov 05, 2013 5:03 pm
Forum: Common Problems
Topic: Valid script which doesn't work in .msi
Replies: 5
Views: 3932
 
Jump to post

Valid script which doesn't work in .msi

Hi all,
I've got trouble with one of my VBS script. It took a list of computer's name in entry then fill a property with name + mac address.
Function getMacAddr(tabname)
macl=""
Const OpenAsDefault = -2
Const FailIfNotExist = 0
Const ForReading = 1
tab=Split(tabname,",")
Set objShell ...
by noisyfreak
Tue Oct 29, 2013 4:32 pm
Forum: Common Problems
Topic: Text file update based on checklist
Replies: 9
Views: 6770
 
Jump to post

Re: Text file update based on checklist

Indeed it is much more convenient ! Thanks a lot for your help, you've been very efficient.

Regards.
by noisyfreak
Tue Oct 29, 2013 3:21 pm
Forum: Common Problems
Topic: Text file update based on checklist
Replies: 9
Views: 6770
 
Jump to post

Re: Text file update based on checklist

It works fine, i can insert the desired content ! But one last question, cpt.png , can I directly put my generated content in a specific location into the document ?
The "text file update" append content at the end but i would put it in a specific DOM element.

Currently :
<document>
<specific ...
by noisyfreak
Tue Oct 29, 2013 1:31 pm
Forum: Common Problems
Topic: Text file update based on checklist
Replies: 9
Views: 6770
 
Jump to post

Re: Text file update based on checklist

Thanks for answer but computers are found dynamically. Checklist is filled with VBS by using "net view" command.
I don't know the names or computer numbers before starting the install process.

Is it possible to " create a property for each computer " and " create two "Set installer property value ...
by noisyfreak
Mon Oct 28, 2013 4:40 pm
Forum: Common Problems
Topic: Install on network
Replies: 3
Views: 2864
 
Jump to post

Re: Install on network

Hi,
Thanks for the quick response, i'm doing to try that !

Regards.
by noisyfreak
Mon Oct 28, 2013 4:35 pm
Forum: Common Problems
Topic: Text file update based on checklist
Replies: 9
Views: 6770
 
Jump to post

Re: Text file update based on checklist

Sorry for my english i'll try to be more accurate !
I've a dialog which allow user to select one or more computer on network, dialog.png .
Then, during the install process i've to update a xml file with the values selected in this dialog ; for each value ( computer ) selected, i've to append a line ...
by noisyfreak
Mon Oct 28, 2013 3:17 pm
Forum: Common Problems
Topic: Install on network
Replies: 3
Views: 2864
 
Jump to post

Install on network

Hi,
Someone knows if it's possible to use the installer through network ? I have to install my soft on some computers and that's would be helpfull if I'll don't have to execute the install tool on each.

Thanks in advance.
Regards.
by noisyfreak
Mon Oct 28, 2013 3:12 pm
Forum: Common Problems
Topic: Text file update based on checklist
Replies: 9
Views: 6770
 
Jump to post

Text file update based on checklist

Hi,
I've problem to update my xml file using the "text file update" feature. I don't know how i can iterate through my checklist values, for example i've to add to file1.xml the following line
<DirectLaunch model = "test" classroom = "COMPUTERNAME"/> for all computers checked in the checklist ...

Go to advanced search