The search returned 8 results

by Akewl
January 4, 2019 - 11:04
Forum: WAPT Packages
Subject: [SOLVED] Question about pushing a .exe file
Answers: 11
Views : 13252

[SOLVED] Re: Question about pushing a .exe file

I coded everything myself, it works perfectly! :)

Just kidding, we can close this thread, thanks for your help!!!!
by Akewl
January 3, 2019 - 4:33 PM
Forum: WAPT Packages
Subject: [SOLVED] Question about pushing a .exe file
Answers: 11
Views : 13252

Re: Question about pushing a .exe file

OK thanks,

I tested the following command:

Code: Select all

run([r'realtargetpath\FilerGet','/T /grant "tout le monde":r'])

But it doesn't work, hmm

Any idea what the problem is?

Thank you in advance :mrgreen:
by Akewl
January 3, 2019 - 2:05 PM
Forum: WAPT Packages
Subject: [SOLVED] Question about pushing a .exe file
Answers: 11
Views : 13252

Re: Question about pushing a .exe file

Great, it works, thank you!

One last question: is it possible to grant non-admin rights to the created folder?

Thanks in advance.
by Akewl
January 3, 2019 - 11:48
Forum: WAPT Packages
Subject: [SOLVED] Question about pushing a .exe file
Answers: 11
Views : 13252

Re: Question about pushing a .exe file

I bypassed my problem by creating it manually using the following commands:

Code: Select all

mkdirs('C:\Users\Public\Desktop\File')
mkdirs('C:\Users\Public\Desktop\File\Download')

It works now, it's my copyfile that doesn't work.
by Akewl
January 3, 2019 - 11:24
Forum: WAPT Packages
Subject: [SOLVED] Question about pushing a .exe file
Answers: 11
Views : 13252

Re: Question about pushing a .exe file

Okay, I modified it to:

`def session_setup():
create_shortcut(makepath(common_desktop(),'Software'),target=r'C:\Program Files (x86)\File\file.exe' %programfiles, wDir=r'C:\Program Files (x86)\File\\' %programfiles,icon=r'C:\Program Files (x86)\FilerGet\file.exe' %programfiles)

` But that doesn't work...
by Akewl
January 3, 2019 - 11:18
Forum: WAPT Packages
Subject: [SOLVED] Question about pushing a .exe file
Answers: 11
Views : 13252

Re: Question about pushing a .exe file

I just found this

Code: Select all

create_shortcut(makepath(common_desktop(),'Logiciels','SketchUp 2014.lnk'),target=r'%s\SketchUp\SketchUp 2014\SketchUp.exe' %programfiles, wDir=r'%s\SketchUp\SketchUp 2014\\' %programfiles,icon=r'%s\SketchUp\SketchUp 2014\SketchUp.exe' %programfiles)

I'm testing it! :)
by Akewl
January 3, 2019 - 11:15
Forum: WAPT Packages
Subject: [SOLVED] Question about pushing a .exe file
Answers: 11
Views : 13252

Re: Question about pushing a .exe file

Hello,

First of all, thank you for your welcome and the super quick and efficient response, it works :)

It's just the shortcut that doesn't work, even though I followed the documentation and added this right after the `def uninstall`

: `def session_setup():
create_desktop_shortcut(r'File',target=r'C:\Program ...`
by Akewl
January 3, 2019 - 10:09
Forum: WAPT Packages
Subject: [SOLVED] Question about pushing a .exe file
Answers: 11
Views : 13252

[SOLVED] Question about pushing a .exe file

Hello everyone,

I'm trying to do something simple but I can't figure it out :D

I have a portable, non-installable EXE file and I'd just like to put it in a folder like C:\test and then create a shortcut on the desktop.

I think I have the solution for creating the shortcut:

create_user...